model_tree_node_info.go 1.1 KB

12345678910111213
  1. package viewmodel
  2. type ModelTreeNodeInfo struct {
  3. Label string `json:"label" xorm:"'label' varchar(50) comment('Label 名称') "`
  4. Value int64 `json:"value" xorm:"'value' bigint comment('Value ID') "`
  5. IsLeaf int64 `json:"isLeaf" xorm:"'isLeaf' bigint comment('Is Leaf') "`
  6. ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('Object ID') "`
  7. ObjectType int64 `json:"objectType" xorm:"'object_type' bigint comment('Object Type') "`
  8. ObjectTitle string `json:"objectTitle" xorm:"'object_title' varchar(127) comment('Object Title') "`
  9. ObjectCode string `json:"objectCode" xorm:"'object_code' varchar(127) comment('Object Code') "`
  10. Comment string `json:"comment" xorm:"'comment' varchar(255) comment('Comment') "`
  11. IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('Is Fixed?') "`
  12. }