package com.cpop.oam.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author DB
 * @version 1.0.0
 * @since 2024-02-20 16:13
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "线索延期返回对象")
public class CluePutOffVo {

    /**
     * 延期到期日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "延期到期日期")
    private LocalDate putOffDate;

    /**
     * 审核状态(0:待审核,1:审核通过,2:审核不通过)
     */
    @ApiModelProperty(value = "审核状态(0:待审核,1:审核通过,2:审核不通过)")
    private Integer auditStatus;

    /**
     * 延迟员工id
     */
    @ApiModelProperty(value = "延迟员工id")
    private String putOffStaffId;

    /**
     * 延迟员工名
     */
    @ApiModelProperty(value = "延迟员工名")
    private String putOffStaffName;

    /**
     * 审核员工id
     */
    @ApiModelProperty(value = "审核员工id")
    private String auditStaffId;

    /**
     * 审核员工名
     */
    @ApiModelProperty(value = "审核员工名")
    private String auditStaffName;

    /**
     * 延期原因
     */
    @ApiModelProperty(value = "延期原因")
    private String putOffReason;

    /**
     *  创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     *  延期附件
     */
    @ApiModelProperty(value = "延期附件")
    private String putOffFileUrl;
}
