审查视图

pkg/infrastructure/pg/models/staff_assess_task.go 1.2 KB
1 2
package models
Your Name authored
3 4 5 6 7
import (
	"time"

	"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain"
)
8 9 10

// 执行评估的任务列表
type StaffAssessTask struct {
Your Name authored
11 12 13 14 15 16 17 18 19
	tableName             struct{}                `pg:"staff_assess_task" comment:"执行评估的任务列表"`
	Id                    int                     `pg:",pk"`
	CompanyId             int                     `` //公司id
	EvaluationProjectId   int                     `` //项目id
	EvaluationProjectName string                  `` //项目名称
	CycleId               int64                   //对应的周期id
	CycleName             string                  //对应周期的名称
	ExecutorId            []int                   //参与考评的人
	StepList              []domain.AssessTaskStep `` //考评的流程
Your Name authored
20
	BeginDay              string                  //日期 天 2006-01-02
Your Name authored
21 22 23 24
	BeginTime             time.Time               //开始时间
	EndTime               time.Time               //截止时间
	CreatedAt             time.Time               //数据创建时间
	UpdatedAt             time.Time               //数据更新时间
Your Name authored
25
	DeletedAt             *time.Time              //数据删除时间
26
}