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 2024-02-20 15:22
 */
@Data
@Accessors(chain = true)
@Schema(description = "线索跟进请求对象")
public class ClueFollowUpBo {

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

    /**
     * 记录内容
     */
    @NotBlank(message = "记录内容不能为空")
    @Schema(description = "记录内容",required = true)
    private String recordContent;

    /**
     * 记录文件地址
     */
    @Schema(description = "记录文件地址")
    private String recordFileUrl;

    /**
     * 更进状态(0:待跟进、1:已歇业、2:无法联系、3:无意向、4:已拜访、5:跟进中、6:已成交
     */
    @NotNull(message = "跟进状态不能为空")
    @Schema(description = "更进状态(0:待跟进、1:已歇业、2:无法联系、3:无意向、4:已拜访、5:跟进中、6:已成交",required = true)
    private Integer followStatus;
}
