biz_object_rule.go 832 B

1234567891011121314
  1. package datamodels
  2. type BizObjectRule struct {
  3. RoId int64 `json:"roId" xorm:"'ro_id' bigint pk comment('主键ID') "`
  4. BizId int64 `json:"bizId" xorm:"'biz_id' bigint comment('BIZ ID') "`
  5. ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('Object ID') "`
  6. RuleId int64 `json:"ruleId" xorm:"'rule_id' bigint comment('Rule ID') "`
  7. TargetAttrId int64 `json:"targetAttrId" xorm:"'target_attr_id' bigint comment('Target AttrId')"`
  8. RuleCode string `json:"ruleCode" xorm:"'rule_code' varchar(1023) comment('Rule Code') "`
  9. }
  10. func (t *BizObjectRule) TableName() string {
  11. return "biz_object_rule"
  12. }