SysOrgTree_gen.go 956 B

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