reward_standard.go
1.2 KB
package models
import (
"time"
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-manufacture/pkg/domain"
)
//RewardStandard 奖惩标准
type RewardStandard struct {
tableName string `pg:"manufacture.reward_standard,alias:reward_standard"`
Id int `pg:"pk:id"` //奖惩标准 id
CompanyId int `comment:"企业id"` // 企业id
OrgId int `comment:"组织ID"` // 组织ID
Workshop domain.SimpleWorkshop //车间
ProductLine domain.SimpleProductLine //生产线
ProductSection domain.ProductSection //工段
Remark string //备注
TargetType int //指标类别 1:产效 2:合格率 3:安全事故 4:质量事故 5:异物次数
TargeVal1 string //填写的指标值1
TargeVal2 string //填写的指标值2
TargeVal3 string //填写的指标值3
TargeVal4 string //填写的指标值4
CreatedAt time.Time //创建时间
UpdatedAt time.Time //更新时间
DeletedAt *time.Time //删除时间
}