审查视图

pkg/infrastructure/pg/models/summary_evaluation_value.go 1.0 KB
tangxvhui authored
1 2
package models
tangxvhui authored
3 4 5 6 7
import (
	"time"

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

// 周期综合评估填写的内容
type SummaryEvaluationValue struct {
tangxvhui authored
11 12 13 14 15 16 17
	tableName           struct{}           `comment:"周期综合评估填写的内容" pg:"summary_evaluation_value"`
	Id                  int                //
	EvaluationItemId    int                //评估条目的id
	SummaryEvaluationId int                //综合评估任务(SummaryEvaluation)的id
	Value               string             //评估填写的评分
	Score               string             //评定得分
	Types               int                //评估类型
18
	Executor            domain.StaffDesc   //填写评估的用户,执行人
tangxvhui authored
19
	Weight              float64            `pg:",use_zero"` //权重
tangxvhui authored
20 21 22 23
	Rating              domain.RatingLevel //评级填写值
	Remark              string             //填写的内容反馈
	CreatedAt           time.Time          //数据创建时间
	UpdatedAt           time.Time          //数据更新时间
tangxvhui authored
24
}