- package datamodels
- type ModelObjectRule struct {
- ModelId int64 `json:"modelId" xorm:"'model_id' bigint pk comment('Model ID') "`
- ObjectId int64 `json:"objectId" xorm:"'object_id' bigint pk comment('主键ID') "`
- RuleId int64 `json:"ruleId" xorm:"'rule_id' bigint comment('Rule ID') "`
- TargetAttrId int64 `json:"targetAttrId" xorm:"'target_attr_id' bigint comment('Target Attr ID')"`
- }
- func (t *ModelObjectRule) TableName() string {
- return "model_object_rule"
- }
|