- add remark on table promotion

This commit is contained in:
gazebo
2018-11-07 20:07:06 +08:00
parent a5d22c3655
commit b013d0ab53
3 changed files with 14 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ type Promotion struct {
VendorPromotionID string `orm:"size(64);column(vendor_promotion_id);index" json:"vendorPromotionID"`
BeginAt time.Time `orm:"type(datetime);index" json:"beginAt"`
EndAt time.Time `orm:"type(datetime);index" json:"endAt"`
Remark string `orm:"type(text)" json:"-"`
}
func init() {