package com.cpop.oam.business.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Description:
 * date: 2023/5/9 14:12
 *
 * @Author DB
 */
@Data
@Accessors(chain = true)
@Schema(description = "修改角色状态")
public class RoleStatusBo {

    /**
     * 主键
     */
    @NotBlank(message = "id不能为空")
    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空")
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean status;
}
