package com.yuchen.saas.manage.system.api.vo;



import com.yuchen.saas.manage.system.api.entity.Dept;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@Data
@ApiModel(value = "DeptDetailVO", description = "部门加主管")
public class DeptInfoVO extends Dept {
   @ApiModelProperty(value = "主管")
   private List<UserDeptVO> userDeptList;

   @Data
   public  static class UserDeptVO{
       private Long id;
       @ApiModelProperty(value = "用户ID")
       private Long userId;
       @ApiModelProperty(value = "组织成员ID")
       private Long orgUserId;
       @ApiModelProperty(value = "是否是部门主管")
       private Integer isDeptAdmin;

       @ApiModelProperty(value = "组织成员名称")
       private String orgUserName;
   }
}
