938624d7a2ee60d81e22a373359b1580d67a9cfb.svn-base
2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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;
}
}