CrmCustomerFollowup.java 4.4 KB
package com.espeed.webmail.pojo;
 
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 程序名称:    	EspeedMail_时速邮箱
 * 程序版本:    	V1.0
 * 作    者:    	深圳市科飞时速网络技术有限公司(0755-88843776)
 * 版权所有:    	深圳市科飞时速网络技术有限公司
 * 技术支持:    	Tech@21gmail.com
 * 单元名称:     	客户跟进实体(优化)
 * 开始时间:    	2015.09.17
 * 程 序 员:    	陈南巧
 * 最后修改:    	2015.09.17
 * 备    注:		二次修改(优化)
 */
@Entity
@Table(name="crm_customer_followup3")
public class CrmCustomerFollowup implements Serializable
{
	private static final long serialVersionUID = 1L;
	private int id;//主键id
	private int customer_id;//客户id
	private int create_user_id;//用户id
	private String followup_time;//跟进时间
	private int followup_classify;//跟进分类,-1未执行的计划,0超时未处理的计划,1已执行的计划,2人工建立的记录,3企业邮箱收件箱标记邮件目的,4企业邮箱发件箱标记邮件目的,5营销邮发信添加跟进记录
	private int followup_way;//跟进方式,和数据字典的跟进方式一致
	private int remind_time_classify;//提醒的分类,1代表10分钟前,2代表30分钟前,3代表1小时前,4代表2小时前,5代表6小时前,6代表1天前
	private String remind_time;//提醒时间
	private int purpose_process;//销售进程,和数据字典的销售进程一致
	private String followup_content;//跟进内容,不超过2000个字符
	private String focus_product;//关注的产品,可多选,每个产品的id以逗号隔开
	private int is_msg_remind;//是否短信提醒,0不是,1是
	private int is_email_remind;//是否邮件提醒,0不是,1是
	private int mail_id;//跟进计划且跟进方式为邮件时的邮件id
	private String create_date;//创建时间
	private String customer_name;//客户姓名
	@Id
   	@GeneratedValue(strategy=GenerationType.AUTO)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCustomer_id() {
		return customer_id;
	}
	public void setCustomer_id(int customerId) {
		customer_id = customerId;
	}
	public int getCreate_user_id() {
		return create_user_id;
	}
	public void setCreate_user_id(int createUserId) {
		create_user_id = createUserId;
	}
	public int getFollowup_classify() {
		return followup_classify;
	}
	public void setFollowup_classify(int followupClassify) {
		followup_classify = followupClassify;
	}
	public int getFollowup_way() {
		return followup_way;
	}
	public void setFollowup_way(int followupWay) {
		followup_way = followupWay;
	}
	public int getRemind_time_classify() {
		return remind_time_classify;
	}
	public void setRemind_time_classify(int remindTimeClassify) {
		remind_time_classify = remindTimeClassify;
	}
	public int getPurpose_process() {
		return purpose_process;
	}
	public void setPurpose_process(int purposeProcess) {
		purpose_process = purposeProcess;
	}
	public String getFollowup_content() {
		return followup_content;
	}
	public void setFollowup_content(String followupContent) {
		followup_content = followupContent;
	}
	public String getFocus_product() {
		return focus_product;
	}
	public void setFocus_product(String focusProduct) {
		focus_product = focusProduct;
	}
	public int getIs_msg_remind() {
		return is_msg_remind;
	}
	public void setIs_msg_remind(int isMsgRemind) {
		is_msg_remind = isMsgRemind;
	}
	public int getIs_email_remind() {
		return is_email_remind;
	}
	public void setIs_email_remind(int isEmailRemind) {
		is_email_remind = isEmailRemind;
	}
	public String getFollowup_time() {
		return followup_time;
	}
	public void setFollowup_time(String followupTime) {
		followup_time = followupTime;
	}
	public String getRemind_time() {
		return remind_time;
	}
	public void setRemind_time(String remindTime) {
		remind_time = remindTime;
	}
	public int getMail_id() {
		return mail_id;
	}
	public void setMail_id(int mailId) {
		mail_id = mailId;
	}
	@Transient
	public String getCustomer_name() {
		return customer_name;
	}
	public void setCustomer_name(String customerName) {
		customer_name = customerName;
	}
	public String getCreate_date() {
		return create_date;
	}
	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}
}