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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.mp.support.Query;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author
 * @create 2023/3/20 15:21
 */
@ApiModel()
@Data
public class NestJobRoleSaveDTO  {


    /**
     * 角色名称
     */
    @ApiModelProperty(name = "jobRoleName", value = "角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String jobRoleName;

    /**
     * 组织id
     */
    @ApiModelProperty(name = "deptId", value = "组织id")
    @NotNull(message = "组织id不能为空")

    private Long deptId;

    /**
     * 工作角色分组id
     */
    @ApiModelProperty(name = "jobRoleGroupId", value = "工作角色分组id")
    @NotNull(message = "工作角色分组不能为空")
    private Long jobRoleGroupId;

    /**
     * 开启状态 0:关闭;1:开启
     */
    @ApiModelProperty(name = "isOpen", value = "开启状态 0:关闭;1:开启")
    private Integer isOpen;

    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    @NotNull(message = "客户id不能为空")

    private Long customerId;


}
