biz_rule_info.go 721 B

12345678910111213
  1. package viewmodels
  2. type BizRuleInfo struct {
  3. RuleId int64 `json:"ruleId" xorm:"'rule_id' bigint pk comment('Rule ID') "`
  4. RuleType int64 `json:"ruleType" xorm:"'rule_type' bigint comment('Type') "`
  5. RuleTitle string `json:"ruleTitle" xorm:"'rule_title' varchar(127) comment('模型名称') "`
  6. Comment string `json:"comment" xorm:"'comment' varchar(255) comment('描述') "`
  7. IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "`
  8. }
  9. func (t *BizRuleInfo) TableName() string {
  10. return "biz_rule"
  11. }