package com.cpop.oam.business.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

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

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

    /**
     * 员工id
     */
    @NotBlank(message = "员工id不能为空")
    @ApiModelProperty(value = "员工id",required = true)
    private String id;

    /**
     * 操作状态
     */
    @NotNull(message = "操作状态不能为空")
    @ApiModelProperty(value = "操作状态",required = true)
    private Boolean isOperation;
}
