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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;


@Data
@ApiModel(value = "SaveOrUpdateChildDeptParam")
public class SaveOrUpdateChildDeptParam {

    @ApiModelProperty(value = "id")
    private Long id;

    @NotBlank
    @ApiModelProperty(value = "部门名称")
    private String name;

    @NotNull
    @ApiModelProperty(value = "上级部门id")
    private Long parentId;

    @ApiModelProperty(value = "部门简介")
    private String intro;

    @ApiModelProperty(value = "部门电话")
    private String phone;

   /* @Deprecated
    @ApiModelProperty(value = "(部门主管)组织成员id")
    private Long orgUserId;*/

    @ApiModelProperty(value = "(部门主管集合)组织成员绑定id集合")
    private List<Long> userDeptIdList;
}
