You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package models
import "time"
const ShakeRedEnvelopeUserTableName = TableNamePrefix + "shake_red_envelope_user"
type ShakeRedEnvelopeUser struct { Id int64 `json:"id" xorm:"not null pk autoincr INT(11)"` RehearsalId int64 `json:"rehearsal_id" xorm:"not null default(0) comment('彩排id/0正式') INT(11)"` ShakeRedEnvelopeActivityId int64 `json:"shake_red_envelope_activity_id" xrom:"not null comment('摇红包活动id') INT(11)"` ShakeRedEnvelopeRuleId int64 `json:"shake_red_envelope_rule_id" xorm:"not null comment('轮次id') INT(11)"` UserId int64 `json:"user_id" xorm:"not null comment('用户id') INT(11)"` IsDelete int `json:"is_delete" xorm:"not null default(0) comment('软删除') TINYINT(1)"` CreatedAt time.Time `json:"created_at" xorm:"not null created comment('创建时间')"` UpdateAt time.Time `json:"update_at" xorm:"not null updated comment('更新时间')"` }
func (t *ShakeRedEnvelopeUser) TableName() string { return ShakeRedEnvelopeUserTableName }
|