938624d7a2ee60d81e22a373359b1580d67a9cfb.svn-base 2.1 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.03.31
 * 程 序 员:    	陈南巧
 * 最后修改:    
 * 备    注:		如需修改请通知程序员    
 */
@Entity
@Table(name="crm_classify")
public class YxyCustomerType implements Serializable{
	private static final long serialVersionUID = 1L;
	private Integer id;//主键id
	private String name;//分类名称
   	private Integer company_id;//企业ID
   	private Integer owner_type;//参数级别:0企业级,1个人级
	private Integer owner_id;//owner_type=0是企业id,owner_type=1是用户id
	private int counts;//客户数量
	private int is_yingxiao;//营销类型,0:非营销类型,1:营销类型
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getCompany_id() {
		return company_id;
	}
	public void setCompany_id(Integer company_id) {
		this.company_id = company_id;
	}
	public Integer getOwner_type() {
		return owner_type;
	}
	public void setOwner_type(Integer owner_type) {
		this.owner_type = owner_type;
	}
	public Integer getOwner_id() {
		return owner_id;
	}
	public void setOwner_id(Integer owner_id) {
		this.owner_id = owner_id;
	}
	@Transient
	public int getCounts() {
		return counts;
	}
	public void setCounts(int counts) {
		this.counts = counts;
	}
	public int getIs_yingxiao() {
		return is_yingxiao;
	}
	public void setIs_yingxiao(int is_yingxiao) {
		this.is_yingxiao = is_yingxiao;
	}
}