LeaveVisibilityRuleVo.php 409 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * 适用范围规则列表:哪些部门/员工可以使用该假期类型
  4. * @author auto create
  5. */
  6. class LeaveVisibilityRuleVo
  7. {
  8. /**
  9. * 规则类型:dept-部门;staff-员工;label-角色
  10. **/
  11. public $type;
  12. /**
  13. * 规则数据:当type=staff时,为员工userId列表;当type=dept时,为部门id列表;当type=label时,为角色id列表
  14. **/
  15. public $visible;
  16. }
  17. ?>