package com.seer.teach.user.admin.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import jakarta.validation.constraints.NotBlank;

/**
 * @Author: Captain
 * @Description:  添加角色实体类
 * @Time: 2024/1/23 15:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "添加角色实体类")
public class AddRole {

    @NotBlank(message = "角色名称不能为空")
    @Schema(description = "角色名称")
    private String roleName;

    @NotBlank(message = "角色编码不能为空")
    @Schema(description = "角色编码")
    private String roleCode;
}
