审查视图

pkg/infrastructure/pg/models/evaluation_cycle_template.go 826 字节
1 2 3 4 5 6 7 8
package models

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

type EvaluationCycleTemplate struct {
9 10 11 12 13 14 15 16 17
	tableName         struct{}                   `comment:"评估周期模板" pg:"evaluation_cycle_template"`
	Id                int64                      `comment:"模板ID" pg:"pk:id"`
	Name              string                     `comment:"模板名称"`
	TemplateCreatedAt time.Time                  `comment:"模板创建时间"`
	Template          *domain.EvaluationTemplate `comment:"模板数据"`
	CycleId           int64                      `comment:"周期ID"`
	CreatedAt         time.Time                  `comment:"创建时间"`
	UpdatedAt         time.Time                  `comment:"更新时间"`
	DeletedAt         *time.Time                 `comment:"删除时间"`
18
}