|
|
package models
|
|
|
|
|
|
import (
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain"
|
|
|
"time"
|
|
|
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain"
|
|
|
)
|
|
|
|
|
|
// 任务阶段
|
...
|
...
|
@@ -12,19 +13,19 @@ type TaskRecord struct { |
|
|
CompanyId int `comment:"公司ID"`
|
|
|
StaffAssessId int `comment:"每日评估的ID"`
|
|
|
TaskId int `comment:"任务ID"`
|
|
|
TaskCategory string `comment:"任务类别"`
|
|
|
TaskName string `comment:"任务名称"`
|
|
|
TaskAlias string `comment:"任务别名"`
|
|
|
TaskCategory string `comment:"任务类别" pg:",use_zero"`
|
|
|
TaskName string `comment:"任务名称" pg:",use_zero"`
|
|
|
TaskAlias string `comment:"任务别名" pg:",use_zero"`
|
|
|
TaskLeader domain.TaskLeader `comment:"任务负责人"`
|
|
|
AssistLevel int `comment:"上级辅导情况" pg:",use_zero"`
|
|
|
AssistContent string `comment:"上级辅导内容"`
|
|
|
RemarkContent []domain.RemarkText `comment:"填写反馈进度"`
|
|
|
AssistContent string `comment:"上级辅导内容" pg:",use_zero"`
|
|
|
RemarkContent []domain.RemarkText `comment:"填写反馈进度" pg:",use_zero"`
|
|
|
AnomalyState int `comment:"异常反馈状态" pg:",use_zero"`
|
|
|
AssistState int `comment:"辅导反馈状态" pg:",use_zero"`
|
|
|
TaskStages []domain.TaskStage `comment:"里程碑列表"`
|
|
|
TaskStages []domain.TaskStage `comment:"里程碑列表" pg:",use_zero" `
|
|
|
TaskStageCheck domain.TaskStage `comment:"提交的里程碑"`
|
|
|
CreatedAt time.Time `comment:"创建时间"`
|
|
|
UpdatedAt time.Time `comment:"更新时间"`
|
|
|
DeletedAt *time.Time `comment:"删除时间"`
|
|
|
TaskCreatedBy int `comment:"任务的创建来源"`
|
|
|
TaskCreatedBy int `comment:"任务的创建来源" pg:",use_zero" `
|
|
|
} |
...
|
...
|
|