- fk promotion
This commit is contained in:
@@ -7,12 +7,12 @@ import (
|
|||||||
type Promotion struct {
|
type Promotion struct {
|
||||||
ModelIDCULD
|
ModelIDCULD
|
||||||
|
|
||||||
VendorID int `orm:"column(vendor_id);default(0)"`
|
VendorID int `orm:"column(vendor_id)"`
|
||||||
Name string `orm:"size(64)" json:"name"`
|
Name string `orm:"size(64)" json:"name"`
|
||||||
Type int
|
Type int
|
||||||
Status int
|
Status int
|
||||||
SyncStatus int
|
SyncStatus int
|
||||||
VendorPromotionID string `orm:"size(64)" json:"vendorPromotionID"`
|
VendorPromotionID string `orm:"size(64);column(vendor_promotion_id);index" json:"vendorPromotionID"`
|
||||||
BeginAt time.Time `orm:"type(datetime);index" json:"beginAt"`
|
BeginAt time.Time `orm:"type(datetime);index" json:"beginAt"`
|
||||||
EndAt time.Time `orm:"type(datetime);index" json:"endAt"`
|
EndAt time.Time `orm:"type(datetime);index" json:"endAt"`
|
||||||
Params string `orm:"type(text)" json:"params"`
|
Params string `orm:"type(text)" json:"params"`
|
||||||
|
|||||||
Reference in New Issue
Block a user