feat:完善项目
This commit is contained in:
@ -5,11 +5,11 @@ import "strings"
|
||||
// WorkSchedule 工单流程数据模型
|
||||
type WorkSchedule struct {
|
||||
Model
|
||||
Kind WorkScheduleKind `gorm:"column:kind;type:tinyint(1);default:1;comment:工单类型" json:"-"`
|
||||
Kind WorkScheduleKind `gorm:"column:kind;type:tinyint(1);default:1;comment:工单类型(1:维修工单)" json:"-"`
|
||||
Title string `gorm:"column:title;type:varchar(30);default:null;comment:标题" json:"title"`
|
||||
Stage int `gorm:"column:stage;type:tinyint(1);default:1;comment:阶段" json:"stage"`
|
||||
Step int `gorm:"column:step;type:tinyint(1);default:1;comment:步骤(1:阶段-1:步骤)" json:"step"`
|
||||
Target WorkScheduleTarget `gorm:"column:target;type:tinyint(1);default:1;comment:对象类型" json:"target"`
|
||||
Target WorkScheduleTarget `gorm:"column:target;type:tinyint(1);default:1;comment:对象类型(1:个人,2:角色)" json:"target"`
|
||||
TargetValue string `gorm:"column:target_value;type:tinyint(1);default:1;comment:对象信息" json:"target_value"`
|
||||
IsCountersign WorkScheduleCountersign `gorm:"column:is_countersign;type:tinyint(1);default:0;comment:是否会签" json:"is_countersign"`
|
||||
ModelDeleted
|
||||
|
Reference in New Issue
Block a user