DeptGetResponse.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?php
  2. /**
  3. * 部门详情
  4. * @author auto create
  5. */
  6. class DeptGetResponse
  7. {
  8. /**
  9. * 当群已经创建后,是否有新人加入部门会自动加入该群
  10. **/
  11. public $auto_add_user;
  12. /**
  13. * 开启后,加入该部门的申请将默认同意
  14. **/
  15. public $auto_approve_apply;
  16. /**
  17. * 部门简介
  18. **/
  19. public $brief;
  20. /**
  21. * 是否同步创建一个关联此部门的企业群, true表示是, false表示不是
  22. **/
  23. public $create_dept_group;
  24. /**
  25. * 部门群ID
  26. **/
  27. public $dept_group_chat_id;
  28. /**
  29. * 部门ID
  30. **/
  31. public $dept_id;
  32. /**
  33. * 部门的主管列表
  34. **/
  35. public $dept_manager_userid_list;
  36. /**
  37. * 可以查看指定隐藏部门的其他人员列表,如果部门隐藏,则此值生效,取值为其他的人员userid组成的数组
  38. **/
  39. public $dept_permits;
  40. /**
  41. * 扩展字段
  42. **/
  43. public $extention;
  44. /**
  45. * 部门是否来自关联组织
  46. **/
  47. public $from_union_org;
  48. /**
  49. * 部门群是否包含子部门
  50. **/
  51. public $group_contain_sub_dept;
  52. /**
  53. * 是否隐藏部门, true表示隐藏, false表示显示
  54. **/
  55. public $hide_dept;
  56. /**
  57. * 部门名称
  58. **/
  59. public $name;
  60. /**
  61. * 在父部门中的次序值
  62. **/
  63. public $order;
  64. /**
  65. * 企业群群主ID
  66. **/
  67. public $org_dept_owner;
  68. /**
  69. * 是否本部门的员工仅可见员工自己, 为true时,本部门员工默认只能看到员工自己
  70. **/
  71. public $outer_dept;
  72. /**
  73. * 本部门的员工仅可见员工自己为true时,可以配置额外可见部门
  74. **/
  75. public $outer_permit_depts;
  76. /**
  77. * 本部门的员工仅可见员工自己为true时,可以配置额外可见人员
  78. **/
  79. public $outer_permit_users;
  80. /**
  81. * 父部门id,根部门为1
  82. **/
  83. public $parent_id;
  84. /**
  85. * 部门标识字段,开发者可用该字段来唯一标识一个部门,并与钉钉外部通讯录里的部门做映射
  86. **/
  87. public $source_identifier;
  88. /**
  89. * 教育行业部门类型,包括campus,period,grade,class.
  90. **/
  91. public $tags;
  92. /**
  93. * 联系方式(手机号码或座机号码)
  94. **/
  95. public $telephone;
  96. /**
  97. * 可以查看指定隐藏部门的其他人员列表,如果部门隐藏,则此值生效,取值为其他的人员userid组成的数组
  98. **/
  99. public $user_permits;
  100. }
  101. ?>