evaluation_cycle.go 893 字节
package domain

import (
	"time"
)

type EvaluationCycle struct {
	Id        int64                `json:"id,string" comment:"ID"`
	Name      string               `json:"name" comment:"名称"`
	TimeStart *time.Time           `json:"timeStart" comment:"起始时间"`
	TimeEnd   *time.Time           `json:"timeEnd" comment:"截至时间"`
	CompanyId int64                `json:"companyId,string" comment:"公司ID"`
	CreatorId int64                `json:"creatorId,string" comment:"创建人ID"`
	KpiCycle  int                  `json:"state" comment:"考核周期(0日、1周、2月)"`
	Template  []EvaluationTemplate `json:"template" comment:"周期使用模板"`
	CreatedAt time.Time            `json:"createdAt" comment:"创建时间"`
	UpdatedAt time.Time            `json:"updatedAt" comment:"更新时间"`
	DeletedAt *time.Time           `json:"deletedAt" comment:"删除时间"`
}