- package viewmodels
- type BizTreeInfo struct {
- Label string `json:"label" xorm:"'label' varchar(50) comment('Label 名称') "`
- Value int64 `json:"value" xorm:"'value' bigint comment('Value ID') "`
- IsLeaf int64 `json:"isLeaf" xorm:"'isLeaf' bigint comment('Is Leaf') "`
- BizId int64 `json:"bizId" xorm:"'biz_id' bigint comment('Biz ID') "`
- BizTitle string `json:"bizTitle" xorm:"'biz_title' varchar(50) comment('Biz Title') "`
- BizDesc string `json:"bizDesc" xorm:"'biz_desc' varchar(50) comment('Biz Desc') "`
- Children []BizTreeNodeInfo `json:"children"`
- }
- func (t *BizTreeInfo) TableName() string {
- return "biz"
- }
|