evaluation_project.go 984 字节
package models

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

type EvaluationProject struct {
	tableName  struct{}                   `pg:"evaluation_project" comment:"评估项目"`
	Id         int64                      `pg:"pk:id" comment:"ID"`
	Name       string                     `comment:"名称"`
	Describe   string                     `comment:"描述"`
	CompanyId  int64                      `comment:"公司ID"`
	CreatorId  int64                      `comment:"创建人ID"`
	HrBp       int                        `comment:"HR角色权限"`
	Pms        []string                   `comment:"项目管理员ID"`
	Recipients []string                   `comment:"被评估人ID"`
	Template   *domain.EvaluationTemplate `comment:"评估模板"`
	CreatedAt  time.Time                  `comment:"创建时间"`
	UpdatedAt  time.Time                  `comment:"更新时间"`
	DeletedAt  *time.Time                 `comment:"删除时间"`
}