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

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 javax.validation.constraints.Size;
import java.util.List;


@Data
@ApiModel(value = "UpdateDeptOrgUserParam")
public class UpdateUserIsDeptAdminParam {

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

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