permission.go 869 字节
package models

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

type Permission struct {
	tableName      struct{}              `comment:"配置权限" pg:"permission"`
	Id             int64                 `comment:"ID" pg:"pk:id"`
	CompanyId      int64                 `comment:"公司ID"`
	OptHrScore     int                   `comment:"上级是否可以修改人资综评分数"`
	OptEvalScore   int                   `comment:"上级是否可以修改360°综评分数"`
	OptConfirmPerf int                   `comment:"是否需要员工确认绩效"`
	CycleDeadline  *domain.CycleDeadline `comment:"周期评估各业务截止时间"`
	CreatedAt      time.Time             `comment:"创建时间"`
	UpdatedAt      time.Time             `comment:"更新时间"`
	DeletedAt      *time.Time            `comment:"删除时间"`
}