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;

import java.time.LocalDate;

/**
 * @author DB
 * @version 1.0.0
 * @since 2024-02-20 16:11
 */
@Data
@Accessors(chain = true)
@Schema(description = "校区延期请求对象")
public class CluePutOffBo {

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

    /**
     * 延期原因
     */
    @NotBlank(message = "延期原因不能为空")
    @Schema(description = "延期原因",requiredMode = Schema.RequiredMode.REQUIRED)
    private String putOffReason;

    /**
     * 延期文件路径
     */
    @NotBlank(message = "延期文件路径不能为空")
    @Schema(description = "延期文件路径",requiredMode = Schema.RequiredMode.REQUIRED)
    private String putOffFileUrl;

    /**
     * 延期到期日期
     */
    @NotNull(message = "不能为空")
    @Schema(description = "延期到期日期",requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDate putOffDate;

}
