| 1234567891011121314151617181920212223 |
- package datamodels
- import "time"
- type BizRule 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('是否可修改') "`
- CreatedBy int64 `json:"createdBy" xorm:"'created_by'"`
- CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"`
- UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"`
- UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"`
- DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"`
- DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"`
- DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"`
- }
- func (t *BizRule) TableName() string {
- return "biz_rule"
- }
|