reward_rule.go
512 字节
package models
import (
"time"
)
//RewardRule 奖惩规则
type RewardRule struct {
tableName string `pg:"manufacture.reward_rule,alias:reward_rule"`
Id int `pg:"pk:id"` //奖惩标准 id
CompanyId int `comment:"企业id"` // 企业id
OrgId int `comment:"组织ID"` // 组织ID
RewardTag string
RewardNum int
RewardAmount string
FaultTag string
FaultNum int
FaultAmount string
Remark string
CreatedAt time.Time
UpdatedAt time.Time
}