SysOrgTree_gen.go 949 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package models
  2. import (
  3. //__import_packages__
  4. )
  5. type SysOrgTree struct {
  6. //主键
  7. Id string `json:"id"`
  8. //上级组织
  9. Parent string `json:"parent"`
  10. //继承关系
  11. Inheritance string `json:"inheritance"`
  12. //名称
  13. Name string `json:"name"`
  14. //全名
  15. FullName string `json:"full_name"`
  16. //领导人
  17. Leader string `json:"leader"`
  18. //组织类型
  19. Type int32 `json:"type"`
  20. //排序
  21. Order int32 `json:"order"`
  22. //状态 0:禁用 1:正常
  23. Status int32 `json:"status"`
  24. //域
  25. Domain string `json:"domain"`
  26. //创建人
  27. CreateBy string `json:"create_by"`
  28. //创建时间
  29. CreateTime LocalTime `json:"create_time"`
  30. //最后更新人
  31. LastUpdateBy string `json:"last_update_by"`
  32. //最后更新时间
  33. LastUpdateTime int64 `json:"last_update_time"`
  34. //是否删除 1:删除 0:正常
  35. DelFlag int32 `json:"del_flag"`
  36. //子列表
  37. Children []SysOrgTree `json:"children"`
  38. }
  39. func init() {
  40. AddTableName("sys_org_tree")
  41. }