Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AncestorAdmin ¶
type AncestorAdmin struct { Uuid string `json:"uuid"` Code string `json:"code"` Name pgtype.JSONB `json:"name"` Description pgtype.JSONB `json:"description"` SortOrder int64 `json:"sort_order" db:"sort_order"` Image pgtype.JSONB `json:"image"` Info pgtype.JSONB `json:"info"` IsActive bool `json:"is_active" db:"is_active"` CreatedAt pgtype.Date `json:"created_at" db:"created_at"` UpdatedAt pgtype.Date `json:"updated_at" db:"updated_at"` DeletedAt pgtype.Date `json:"deleted_at" db:"deleted_at"` }
type AncestorFront ¶
type AncestorInfo ¶
type AncestorInfo struct {
ServiceName string `json:"service_name"`
}
type AttributeAdmin ¶
type AttributeAdmin struct { Uuid uuid.UUID `json:"uuid"` Code string `json:"code"` Name pgtype.JSONB `json:"name"` Description pgtype.JSONB `json:"description"` SortOrder int64 `json:"sort_order" db:"sort_order"` Image pgtype.JSONB `json:"image"` IsActive bool `json:"is_active" db:"is_active"` CreatedAt pgtype.Date `json:"created_at" db:"created_at"` UpdatedAt pgtype.Date `json:"updated_at" db:"updated_at"` DeletedAt pgtype.Date `json:"deleted_at" db:"deleted_at"` }
type AttributeFront ¶
type BuyerAdmin ¶
type BuyerAdmin struct { Uuid uuid.UUID `json:"uuid"` Phone string `json:"phone"` Name string `json:"name"` Email pgtype.JSONB `json:"email"` Description pgtype.JSONB `json:"description"` SortOrder int64 `json:"sort_order" db:"sort_order"` Image pgtype.JSONB `json:"image"` IsActive bool `json:"is_active" db:"is_active"` CreatedAt pgtype.Date `json:"created_at" db:"created_at"` UpdatedAt pgtype.Date `json:"updated_at" db:"updated_at"` DeletedAt pgtype.Date `json:"deleted_at" db:"deleted_at"` }
type BuyerFront ¶
type CategoryAdmin ¶
type CategoryAdmin struct { Uuid uuid.UUID `json:"uuid"` Code string `json:"code"` Name pgtype.JSONB `json:"name"` Description pgtype.JSONB `json:"description"` SortOrder int64 `json:"sort_order" db:"sort_order"` Image pgtype.JSONB `json:"image"` AncestorUuid uuid.UUID `json:"ancestor_uuid" db:"ancestor_uuid"` IsActive bool `json:"is_active" db:"is_active"` CreatedAt pgtype.Date `json:"created_at" db:"created_at"` UpdatedAt pgtype.Date `json:"updated_at" db:"updated_at"` DeletedAt pgtype.Date `json:"deleted_at" db:"deleted_at"` }
type CategoryFront ¶
type CategoryFront struct { Uuid uuid.UUID `json:"uuid"` Code string `json:"code"` Name string `json:"name"` Description string `json:"description"` SortOrder int64 `json:"sort_order" db:"sort_order"` Image pgtype.JSONB `json:"image"` AncestorUuid uuid.UUID `json:"ancestor_uuid" db:"ancestor_uuid"` AncestorName string `json:"ancestor_name" db:"ancestor_name"` }
type MenuCategory ¶
type MenuCategory struct {
Uuid string `json:"tp_uuid"`
}
type MenuProduct ¶
type MenuProduct struct { Uuid string `json:"tp_uuid"` Items []MenuProductItem `json:"tp_item"` }
type MenuProductItem ¶
type MenuProductItem struct {
Foreign string `json:"tp_foreign"`
}
type Order ¶
type Order struct { Uuid uuid.UUID `json:"uuid"` Number int64 `json:"number"` BuyerUuid uuid.UUID `json:"buyer_uuid" db:"buyer_uuid"` AncestorUuid uuid.UUID `json:"ancestor_uuid" db:"ancestor_uuid"` Status int64 `json:"status"` Payment int64 `json:"payment"` Delivery int64 `json:"delivery"` Items pgtype.JSONB `json:"items"` Address pgtype.JSONB `json:"address"` ExecuteAt pgtype.Date `json:"execute_at" db:"execute_at"` Description pgtype.JSONB `json:"description"` SortOrder int64 `json:"sort_order" db:"sort_order"` CreatedAt pgtype.Date `json:"created_at" db:"created_at"` UpdatedAt pgtype.Date `json:"updated_at" db:"updated_at"` DeletedAt pgtype.Date `json:"deleted_at" db:"deleted_at"` }
type ProductAdmin ¶
type ProductAdmin struct { Uuid uuid.UUID `json:"uuid"` Code string `json:"code"` Name pgtype.JSONB `json:"name"` Description pgtype.JSONB `json:"description"` SortOrder int64 `json:"sort_order" db:"sort_order"` Image pgtype.JSONB `json:"image"` CategoryUuid uuid.UUID `json:"category_uuid" db:"category_uuid"` Items pgtype.JSONB `json:"items"` IsActive bool `json:"is_active" db:"is_active"` CreatedAt pgtype.Date `json:"created_at" db:"created_at"` UpdatedAt pgtype.Date `json:"updated_at" db:"updated_at"` DeletedAt pgtype.Date `json:"deleted_at" db:"deleted_at"` }
type ProductFront ¶
type ProductFront struct { Uuid uuid.UUID `json:"uuid"` Code string `json:"code"` Name string `json:"name"` Description string `json:"description"` SortOrder int64 `json:"sort_order" db:"sort_order"` Image pgtype.JSONB `json:"image"` CategoryUuid uuid.UUID `json:"category_uuid" db:"category_uuid"` CategoryName string `json:"category_name" db:"category_name"` Items pgtype.JSONB `json:"items"` }
Click to show internal directories.
Click to hide internal directories.