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;
import java.sql.Date;
import java.time.LocalDate;

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

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

    /**
     * 延期原因
     */
    @NotBlank(message = "延期原因不能为空")
    @ApiModelProperty(value = "延期原因",required = true)
    private String putOffReason;

    /**
     * 延期文件路径
     */
    @NotBlank(message = "延期文件路径不能为空")
    @ApiModelProperty(value = "延期文件路径",required = true)
    private String putOffFileUrl;

    /**
     * 延期到期日期
     */
    @NotNull(message = "不能为空")
    @ApiModelProperty(value = "延期到期日期",required = true)
    private LocalDate putOffDate;

}
