20 lines
570 B
Go
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{}
|
|
}
|