package com.yuchen.saas.manage.user.api.request.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

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


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

    @NotNull
    @ApiModelProperty(value = "用户部门绑定id")
    private List<Long> userDeptId;

    @NotNull
    @Range(min = 0,max = 1)
    @ApiModelProperty(value = "是否是部门主管0否1是")
    private Integer isDeptAdmin;
}
