evaluation_template.go 777 字节
package models

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

type EvaluationTemplate struct {
	tableName struct{}          `pg:"evaluation_template" comment:"评估模板"`
	Id        int64             `comment:"ID"`
	Name      string            `comment:"名称"`
	Describe  string            `comment:"描述"`
	CompanyId int64             `comment:"公司ID"`
	CreatorId int64             `comment:"创建人ID"`
	State     int               `comment:"状态(0待完成配置、1待启用、2启用、3停用)"`
	Link      []domain.LinkNode `comment:"评估流程"`
	CreatedAt time.Time         `comment:"创建时间"`
	UpdatedAt time.Time         `comment:"更新时间"`
	DeletedAt *time.Time        `comment:"删除时间"`
}