Files
cas_tt_cloud_backend/app/common/model/activity_apply_log.go
2022-01-12 15:05:14 +08:00

20 lines
570 B
Go

package model
// ActivityApplyLog 活动申请日志数据模型
type ActivityApplyLog struct {
Model
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
ApplyID uint64 `gorm:"column:apply_id;type:int(11);default:0;comment:活动ID" json:"apply_id"`
Remark string `gorm:"column:remark;type:varchar(255);default:'';comment:备注信息" json:"remark"`
ModelDeleted
ModelAt
}
func (m *ActivityApplyLog) TableName() string {
return "activity_apply_log"
}
func NewActivityApplyLog() *ActivityApplyLog {
return &ActivityApplyLog{}
}