package datamodel type BizObjectOAMRule struct { BizId int64 `json:"bizId" xorm:"'biz_id' bigint pk comment('BIZ ID') "` ObjectId int64 `json:"objectId" xorm:"'object_id' bigint pk comment('Object ID') "` OamId int64 `json:"oamId" xorm:"'oam_id' bigint pk comment('OAM ID') "` OrId int64 `json:"orId" xorm:"'or_id' bigint pk comment('Object Rule ID') "` RuleId int64 `json:"ruleId" xorm:"'rule_id' bigint comment('Rule ID') "` TargetAttrId int64 `json:"targetAttrId" xorm:"'target_attr_id' bigint comment('Target AttrId') "` RuleCode string `json:"ruleCode" xorm:"'rule_code' varchar(1023) comment('Rule Code') "` SortNo int64 `json:"sortNo" xorm:"'sort_no' bigint comment('Sort No') "` } func (t *BizObjectOAMRule) TableName() string { return "biz_object_oam_rule" }