evaluation_rule.go
857 字节
package models
import (
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain"
"time"
)
type EvaluationRule struct {
tableName struct{} `comment:"评估规则" pg:"evaluation_rule"`
Id int64 `comment:"ID" pg:"pk:id"`
Name string `comment:"名称"`
Remark string `comment:"备注"`
CompanyId int64 `comment:"公司ID"`
CreatorId int64 `comment:"创建人ID"`
Type int `comment:"评估方式(0评级、1评分)" pg:",use_zero"`
SysType int `comment:"系统类型(0普通、1系统固定)" pg:",use_zero"`
Rating domain.Rating `comment:"评级"`
Score domain.Score `comment:"评分"`
CreatedAt time.Time `comment:"创建时间"`
UpdatedAt time.Time `comment:"更新时间"`
DeletedAt *time.Time `comment:"删除时间"`
}