evaluation_cycle.go 627 字节
package models

import (
	"time"
)

type EvaluationCycle struct {
	tableName struct{}   `comment:"评估周期" pg:"evaluation_cycle"`
	Id        int64      `comment:"周期ID" pg:"pk:id"`
	Name      string     `comment:"名称"`
	TimeStart *time.Time `comment:"起始时间"`
	TimeEnd   *time.Time `comment:"截至时间"`
	CompanyId int64      `comment:"公司ID"`
	CreatorId int64      `comment:"创建人ID"`
	KpiCycle  int        `comment:"考核周期(1日、2周、3月)"`
	CreatedAt time.Time  `comment:"创建时间"`
	UpdatedAt time.Time  `comment:"更新时间"`
	DeletedAt *time.Time `comment:"删除时间"`
}