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/29 14:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "更新角色请求实体类")
public class UpdateRoleRequest {

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

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