审查视图

pkg/infrastructure/pg/models/evaluation_cycle.go 627 字节
郑周 authored
1 2 3 4 5 6 7
package models

import (
	"time"
)

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