diff --git a/src/models/service_award_return_base.go b/src/models/service_award_return_base.go index f1c7049..1eed3f8 100644 --- a/src/models/service_award_return_base.go +++ b/src/models/service_award_return_base.go @@ -1,14 +1,16 @@ package models +import "time" + type ServiceAwardReturnBase struct { - Id int `json:"id" xorm:"not null pk autoincr INT(11)"` - TimeType int `json:"time_type" xorm:"default 0 comment('0.每月统一返还(要选择哪一天) 1.按赠送购物金的具体时间每月返还') INT(1)"` - Day string `json:"day" xorm:"VARCHAR(255)"` - ReturnType int `json:"return_type" xorm:"default 0 comment('0系统分期返还方式, 1手动设置返还方式') INT(1)"` - CpsPeriod int `json:"cps_period" xorm:"default 0 INT(11)"` - MallPeriod int `json:"mall_period" xorm:"default 0 INT(11)"` - MemberUplvPeriod int `json:"member_uplv_period" xorm:"INT(11)"` - NewMemberPeriod int `json:"new_member_period" xorm:"default 0 INT(11)"` - AutoDate int `json:"auto_date" xorm:"default 0 INT(11)"` - HandDate int `json:"hand_date" xorm:"default 0 INT(11)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + TimeType int `json:"time_type" xorm:"default 0 comment('0.每月统一返还(要选择哪一天) 1.按赠送购物金的具体时间每月返还') INT(1)"` + Day string `json:"day" xorm:"VARCHAR(255)"` + ReturnType int `json:"return_type" xorm:"default 0 comment('0系统分期返还方式, 1手动设置返还方式') INT(1)"` + CpsPeriod int `json:"cps_period" xorm:"default 0 INT(11)"` + MallPeriod int `json:"mall_period" xorm:"default 0 INT(11)"` + MemberUplvPeriod int `json:"member_uplv_period" xorm:"INT(11)"` + NewMemberPeriod int `json:"new_member_period" xorm:"default 0 INT(11)"` + AutoDate time.Time `json:"auto_date" xorm:"DATETIME"` + HandDate time.Time `json:"hand_date" xorm:"DATETIME"` }