提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.fendan.persist; |
A |
2 |
|
|
3 |
import java.io.Serializable; |
|
4 |
import java.util.Date; |
|
5 |
|
|
6 |
import javax.persistence.Entity; |
|
7 |
import javax.persistence.Id; |
|
8 |
import javax.persistence.Table; |
|
9 |
import javax.persistence.Temporal; |
|
10 |
import javax.persistence.TemporalType; |
|
11 |
import javax.persistence.UniqueConstraint; |
|
12 |
|
|
13 |
/** |
|
14 |
* @author cx |
|
15 |
* @version 创建时间:2017年10月23日 |
|
16 |
* 类说明 |
|
17 |
*/ |
|
18 |
@Entity |
|
19 |
@Table(name="fd_company",uniqueConstraints={@UniqueConstraint(columnNames={"companyNo"})}) |
|
20 |
public class Fd_Company implements Serializable { |
|
21 |
|
|
22 |
@Id |
|
23 |
private String id; |
|
24 |
private String cname; |
|
25 |
private String companyNo; |
|
26 |
@Temporal(TemporalType.TIMESTAMP) |
|
27 |
private Date ctime; |
|
28 |
private String hdpinyin; |
|
29 |
private String name; |
|
30 |
private String note; |
|
31 |
private String pinyin; |
|
32 |
private boolean hasSPR;//是否可以操作自提单据 |
|
33 |
public String getId() { |
|
34 |
return id; |
|
35 |
} |
|
36 |
public void setId(String id) { |
|
37 |
this.id = id; |
|
38 |
} |
|
39 |
public String getCname() { |
|
40 |
return cname; |
|
41 |
} |
|
42 |
public void setCname(String cname) { |
|
43 |
this.cname = cname; |
|
44 |
} |
|
45 |
public String getCompanyNo() { |
|
46 |
return companyNo; |
|
47 |
} |
|
48 |
public void setCompanyNo(String companyNo) { |
|
49 |
this.companyNo = companyNo; |
|
50 |
} |
|
51 |
public Date getCtime() { |
|
52 |
return ctime; |
|
53 |
} |
|
54 |
public void setCtime(Date ctime) { |
|
55 |
this.ctime = ctime; |
|
56 |
} |
|
57 |
public String getHdpinyin() { |
|
58 |
return hdpinyin; |
|
59 |
} |
|
60 |
public void setHdpinyin(String hdpinyin) { |
|
61 |
this.hdpinyin = hdpinyin; |
|
62 |
} |
|
63 |
public String getName() { |
|
64 |
return name; |
|
65 |
} |
|
66 |
public void setName(String name) { |
|
67 |
this.name = name; |
|
68 |
} |
|
69 |
public String getNote() { |
|
70 |
return note; |
|
71 |
} |
|
72 |
public void setNote(String note) { |
|
73 |
this.note = note; |
|
74 |
} |
|
75 |
public String getPinyin() { |
|
76 |
return pinyin; |
|
77 |
} |
|
78 |
public void setPinyin(String pinyin) { |
|
79 |
this.pinyin = pinyin; |
|
80 |
} |
|
81 |
public boolean isHasSPR() { |
|
82 |
return hasSPR; |
|
83 |
} |
|
84 |
public void setHasSPR(boolean hasSPR) { |
|
85 |
this.hasSPR = hasSPR; |
|
86 |
} |
|
87 |
|
|
88 |
|
|
89 |
} |