审查视图

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

import (
	"time"
)

type EvaluationCycle struct {
tangxvhui authored
8 9 10 11 12 13 14 15 16 17 18 19
	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月)"`
	SummaryState int        `comment:"周期评估是否下发" pg:",use_zero"`
	CreatedAt    time.Time  `comment:"创建时间"`
	UpdatedAt    time.Time  `comment:"更新时间"`
	DeletedAt    *time.Time `comment:"删除时间"`
郑周 authored
20
}