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;


/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-07 18:14
 */
@Data
@Accessors(chain = true)
@Schema(description = "OperationStatusBo对象")
public class OperationStatusBo {

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

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