feat:完善项目信息
This commit is contained in:
32
app/common/model/sys_user_examine_log.go
Normal file
32
app/common/model/sys_user_examine_log.go
Normal file
@ -0,0 +1,32 @@
|
||||
package model
|
||||
|
||||
// SysUserExamineLog 用户审核数据模型
|
||||
type SysUserExamineLog struct {
|
||||
Model
|
||||
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
|
||||
Kind SysUserExamineLogKind `gorm:"column:kind;type:tinyint(3);default:0;comment:审核对象类型" json:"kind"`
|
||||
ObjectID uint64 `gorm:"column:object_id;type:int(11);default:0;comment:对象ID" json:"-"`
|
||||
Status int `gorm:"column:status;type:tinyint(1);default:0;comment:状态" json:"status"`
|
||||
Remark string `gorm:"column:remark;type:varchar(255);default:'';comment:备注" json:"-"`
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
|
||||
type SysUserExamineLogKind int
|
||||
|
||||
const (
|
||||
// SysUserExamineLogKindForProduct 产品信息审核
|
||||
SysUserExamineLogKindForProduct SysUserExamineLogKind = iota + 1
|
||||
// SysUserExamineLogKindForAchievement 成果信息
|
||||
SysUserExamineLogKindForAchievement
|
||||
// SysUserExamineLogKindForDemandTechnology 技术需求
|
||||
SysUserExamineLogKindForDemandTechnology
|
||||
)
|
||||
|
||||
func (m *SysUserExamineLog) TableName() string {
|
||||
return "sys_user_examine_log"
|
||||
}
|
||||
|
||||
func NewSysUserExamineLog() *SysUserExamineLog {
|
||||
return &SysUserExamineLog{}
|
||||
}
|
Reference in New Issue
Block a user