package viewmodel type BizRuleInfo struct { RuleId int64 `json:"ruleId" xorm:"'rule_id' bigint pk comment('Rule ID') "` RuleType int64 `json:"ruleType" xorm:"'rule_type' bigint comment('Type') "` RuleTitle string `json:"ruleTitle" xorm:"'rule_title' varchar(127) comment('模型名称') "` RuleDesc string `json:"ruleDesc" xorm:"'rule_desc' varchar(511) comment('描述') "` Comment string `json:"comment" xorm:"'comment' varchar(255) comment('描述') "` IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "` } func (t *BizRuleInfo) TableName() string { return "biz_rule" }