Files
lone-services/services/chore/internal/dao/action_apply_log.go
T
2026-09-17 10:18:43 +08:00

26 lines
667 B
Go

package dao
// 编辑申请对象类型
const (
ApplyLogTypeProduct uint8 = 1 // 产品
ApplyLogTypeStore uint8 = 2 // 门店
ApplyLogTypeAddress uint8 = 3 // 地址
ApplyLogTypeSales uint8 = 4 // 销售
)
// 编辑申请状态
const (
ApplyStatusDone uint8 = 1 // 通过
ApplyStatusNotPass uint8 = 2 // 驳回
ApplyStatusWaitPass uint8 = 9 // 待审核
)
type ActionApplyLogCreate struct {
Id int `gorm:"column:id;primaryKey;autoIncrement"`
AdminId int `gorm:"column:admin_id"`
ObjId int `gorm:"column:obj_id"`
Type uint8 `gorm:"column:type"`
Reason string `gorm:"column:reason"`
Status uint8 `gorm:"column:status"`
}