permission.go 530 字节
package models

import "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°综评分数"`
	CreatedAt    time.Time  `comment:"创建时间"`
	UpdatedAt    time.Time  `comment:"更新时间"`
	DeletedAt    *time.Time `comment:"删除时间"`
}