biz_object_oam_rule.go 1.1 KB

1234567891011121314151617
  1. package datamodel
  2. type BizObjectOAMRule struct {
  3. BizId int64 `json:"bizId" xorm:"'biz_id' bigint pk comment('BIZ ID') "`
  4. ObjectId int64 `json:"objectId" xorm:"'object_id' bigint pk comment('Object ID') "`
  5. OamId int64 `json:"oamId" xorm:"'oam_id' bigint pk comment('OAM ID') "`
  6. OrId int64 `json:"orId" xorm:"'or_id' bigint pk comment('Object Rule ID') "`
  7. RuleId int64 `json:"ruleId" xorm:"'rule_id' bigint comment('Rule ID') "`
  8. TargetAttrId int64 `json:"targetAttrId" xorm:"'target_attr_id' bigint comment('Target AttrId') "`
  9. RuleCode string `json:"ruleCode" xorm:"'rule_code' varchar(1023) comment('Rule Code') "`
  10. SortNo int64 `json:"sortNo" xorm:"'sort_no' bigint comment('Sort No') "`
  11. }
  12. func (t *BizObjectOAMRule) TableName() string {
  13. return "biz_object_oam_rule"
  14. }