f93cf60ca9a9608cd71e8a1cecf4d9fd7b97bf2c.svn-base 1.6 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;

/**
 * 程序名称:    	EspeedMail_时速邮箱
 * 程序版本:    	V1.0
 * 作    者:    	深圳市科飞时速网络技术有限公司(0755-88843776)
 * 版权所有:    	深圳市科飞时速网络技术有限公司
 * 技术支持:    	Tech@21gmail.com
 * 单元名称:     销售进程实体
 * 开始时间:    	2015.05.25
 * 程 序 员:    	谢勇
 * 最后修改:    2015.05.25
 * 备    注:		二次修改
 */
@Entity
@Table(name="crm_process")
public class CrmProcess implements Serializable{
	private static final long serialVersionUID = 1L;
	private int id;//id
	private String name;//名称
	private int company_id;//企业ID
	private Integer owner_type;//参数级别:0企业级,1个人级
	private Integer owner_id;//owner_type=0是企业id,owner_type=1是用户id
	@Id
   	@GeneratedValue(strategy=GenerationType.AUTO)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getCompany_id() {
		return company_id;
	}
	public void setCompany_id(int companyId) {
		company_id = companyId;
	}
	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;
	}
}