package com.storlead.sales.pojo.vo.customer;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.storlead.framework.annotate.Dict;
import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustomerFollowUpLastVO", description = "客户跟进记录返回最后跟进时间VO")
public class CustomerFollowUpLastVO extends SysBaseField {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户跟进记录id")
    private Long id;

    @ApiModelProperty(value = "跟进时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime followUpTime;

    @ApiModelProperty(value = "业务类型")
    private String resourceType;

    @ApiModelProperty(value = "业务类型关联ID")
    private Long resourceTypeId;

    @ApiModelProperty(value = "未跟进天数")
    private Integer noFollowUpDate;

    @ApiModelProperty(value = "未跟进时间")
    private Integer notFollowUpDate;

}
