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

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

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


@Data
@ApiModel(value = "JobRoleBindingAddParam")
public class JobRoleBindingAddDTO {

    @NotNull(message = "岗位角色id不能为空")
    @ApiModelProperty(value = "岗位角色id")
    private Long jobRoleId;


    /**
     * 与部门id不能同时为空
     */
    @ApiModelProperty(value = "组织成员id")
    private List<Long> orgUserIds;

    /**
     * 默认部门底下所有成员都绑定
     */
    @ApiModelProperty(value = "部门id")
    private List<Long> deptIds;

}
