审查视图

pkg/infrastructure/pg/models/summary_evaluation.go 1.7 KB
tangxvhui authored
1 2 3 4 5 6 7 8 9 10
package models

import (
	"time"

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

// 周综合评估
type SummaryEvaluation struct {
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
	tableName             struct{}                  `comment:"周综合评估" pg:"summary_evaluation"`
	Id                    int                       `pg:",pk"`
	CompanyId             int                       //公司id
	EvaluationProjectId   int                       //对应的项目id
	EvaluationProjectName string                    //对应的项目名称
	CycleId               int64                     //对应的周期id
	CycleName             string                    //对应的周期名称
	NodeId                int                       //对应的节点id
	TargetUser            domain.StaffDesc          //被评估的目标用户,被执行的
	TargetDepartment      []domain.StaffDepartment  //被评估的目标用户所在的部门
	Executor              domain.StaffDesc          //填写评估的用户,执行人
	Types                 int                       //评估类型
	Status                string                    //评估的填写状态
	CheckResult           string                    //被执行的人确认评估结果
	BeginTime             time.Time                 //开始时间
	EndTime               time.Time                 //截止时间
	TotalScore            string                    //最终上级评估得分.
	TotalRating           []domain.RatingCodeNumber //汇总评级
	CreatedAt             time.Time                 //数据创建时间
	UpdatedAt             time.Time                 //数据更新时间
	DeletedAt             *time.Time                //数据删除时间
tangxvhui authored
32
}