- auto create jd promotion on jd new promotion event

This commit is contained in:
gazebo
2018-11-08 16:08:35 +08:00
parent bd6cf367a0
commit 69aad912cd
5 changed files with 227 additions and 40 deletions

View File

@@ -29,6 +29,11 @@ type Promotion struct {
Advertising string `orm:"size(255)" json:"advertising"`
Type int `json:"type"`
Status int `json:"status"`
LimitDevice int8 `json:"limitDevice"`
LimitPint int8 `json:"limitPint"`
LimitDaily int8 `json:"limitDaily"`
LimitCount int `json:"limitCount"`
Source string `orm:"size(255)" json:"source"`
CreateType int8 `json:"createType"`
VendorPromotionID string `orm:"size(64);column(vendor_promotion_id);index" json:"vendorPromotionID"`
BeginAt time.Time `orm:"type(datetime);index" json:"beginAt"`