package com.fs.crm.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import com.fs.common.param.BaseQueryParam;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class CrmCustomerVisitAddParam   implements Serializable
{


    /** 客户ID */
    @NotNull(message = "客户ID不能为空")
    private Long customerId;

    private Long companyUserId;


    /** 类型 1 电话 2 微信 */
    @ApiParam(required=true,name="visitType",value="类型 1 电话 2 微信")
    private Long visitType;

    @ApiParam(required=true,name="customerUserStatus",value="跟进状态")
    @NotNull(message = "跟进状态不能为空")
    private Integer customerUserStatus;

    /** 走访内容 */
    @ApiParam(required=true,name="content",value="走访内容")
    private String content;

    /** 走访照片 */
    @ApiParam(required=true,name="photos",value="走访照片")
    private String photos;

    /** 下次联系时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiParam(required=true,name="nextTime",value="下次联系时间")
    private Date nextTime;

    private Integer customerType;


}
