package com.iformall.domain.po.invest;

import com.baomidou.mybatisplus.annotation.TableName;


import com.iformall.enums.EnumFollowType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 跟踪记录
 *
 * @author
 * @email
 * @date 2019-09-24 14:48:11
 */
@Data
@TableName("invest_follow_record")
@EqualsAndHashCode(callSuper = true)
public class InvestFollowRecordEntity extends InvestBaseEntity {
	public static final String KEY_MEMBER = "member" ;
	/**
	 * 主谈人
	 */
	@io.swagger.annotations.ApiModelProperty(value = "主谈人", name = "owner")
	private Long owner;
	/**
	 * 客户ID
	 */
	@io.swagger.annotations.ApiModelProperty(value = "客户ID", name = "customerId")
	private Long customerId;
	/**
	 * 洽谈内容
	 */
	@io.swagger.annotations.ApiModelProperty(value = "洽谈内容", name = "content",example = "{" +
			" \"address\": \"北京三里屯\"," +
			" \"text\": \"今天约了王老板，目标要签订框架协议\"," +
			" \"document\": [\"url1\",\"url2\"]," +
			" \"member\": [id1,id2,id3]," +
			" \"negotiationType\": 1" +
			"}")
	private String content;
	/**
	 * 跟踪类型：0-招商任务;1-客户需求
	 */
	@io.swagger.annotations.ApiModelProperty(value = "跟踪类型：0-招商任务;1-客户需求", name = "type")
    private EnumFollowType type;

	/**
	 * 跟踪类型的主键ID
	 */
	@io.swagger.annotations.ApiModelProperty(value = "跟踪类型的主键ID", name = "followId")
	private Long followId;

	/**
	 * 操作人
	 */
	@io.swagger.annotations.ApiModelProperty(value = "操作人", name = "followId")
	private Long operator;

	/**
	 * 跟踪日期
	 */
	@io.swagger.annotations.ApiModelProperty(value = "followDate", name = "followDate",example = "2019-09-03")
	private Date followDate;
}
