feat:完善项目信息
This commit is contained in:
19
app/common/model/activity_apply_log.go
Normal file
19
app/common/model/activity_apply_log.go
Normal file
@ -0,0 +1,19 @@
|
||||
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{}
|
||||
}
|
Reference in New Issue
Block a user