| 1234567891011121314151617181920212223242526 |
- package viewmodel
- type RepoObjectNodeInfo 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') "`
- ModelId int64 `json:"modelId" xorm:"'model_id' bigint comment('Model ID') "`
- ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('Object ID') "`
- ObjectTitle string `json:"objectTitle" xorm:"'object_title' varchar(127) comment('Object Title') "`
- ObjectType string `json:"objectType" xorm:"'object_type' bigint comment('Object Type') "`
- ObjectCode string `json:"objectCode" xorm:"'object_code' varchar(127) comment('Object Code') "`
- }
- type RepoModelTreeInfo 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') "`
- ModelId int64 `json:"modelId" xorm:"'model_id' bigint comment('Model ID') "`
- ModelTitle string `json:"modelTitle" xorm:"'model_title' varchar(50) comment('Model Title') "`
- Children []RepoObjectNodeInfo `json:"children"`
- }
- func (t *RepoModelTreeInfo) TableName() string {
- return "repo_object"
- }
|