package com.cpop.oam.business.bo;

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


/**
 * @author DB
 * @version 1.0.0
 * @since 2024-02-04 9:30
 */
@Data
@Accessors(chain = true)
@Schema(description = "强制办结工单")
public class EnforceFinishWorkOrderBo {

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

    /**
     * 强制办结原因
     */
    @NotBlank(message = "强制办结原因不能为空")
    @Schema(description = "强制办结原因", requiredMode = Schema.RequiredMode.REQUIRED)
    private String enforceFinishReason;
}
