提交 | 用户 | 时间
|
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.EnumType; |
|
8 |
import javax.persistence.Enumerated; |
|
9 |
import javax.persistence.Id; |
|
10 |
import javax.persistence.Index; |
|
11 |
import javax.persistence.Table; |
|
12 |
import javax.persistence.Temporal; |
|
13 |
import javax.persistence.TemporalType; |
|
14 |
import javax.persistence.UniqueConstraint; |
|
15 |
|
|
16 |
import com.mandi.fendan.util.persist.Serviceenum; |
|
17 |
|
|
18 |
/** |
|
19 |
* @author cx |
|
20 |
* @version 创建时间:2017年10月23日 |
|
21 |
* 类说明 |
|
22 |
*/ |
|
23 |
@Entity |
|
24 |
@Table(name="fd_bsheet",uniqueConstraints={@UniqueConstraint(columnNames={"fdsheetNo","bsNo"})},indexes={@Index(columnList="companyNo"),@Index(columnList="vehicleId")}) |
|
25 |
public class Fd_Bsheet implements Serializable{ |
|
26 |
@Id |
|
27 |
private String id; |
|
28 |
private String companyName;//运输公司 |
|
29 |
private String companyNo;//运输公司编号 |
|
30 |
private String createName;//创建人 |
|
31 |
private String createid;//创建人id |
|
32 |
@Temporal(TemporalType.TIMESTAMP) |
|
33 |
private Date ctime;//创建时间 |
|
34 |
private String driver;//司机姓名 |
|
35 |
private String fdsheetNo;//编号 |
|
36 |
private String phone;//联系方式 |
|
37 |
private String vehicleId;//车牌号 |
|
38 |
private String bsNo;//销售业务单编号 |
|
39 |
@Enumerated(EnumType.STRING) |
|
40 |
private Serviceenum status;//业务单状态 |
|
41 |
|
|
42 |
private boolean sendmsg;//这个值不用了 |
|
43 |
private String sdepartNo;//业务单生成的厂区 |
|
44 |
private String invitecode; |
|
45 |
private String shdw;//收货单位 |
|
46 |
@Temporal(TemporalType.TIMESTAMP) |
|
47 |
private Date updateTime;//修改时间 |
|
48 |
|
|
49 |
public String getId() { |
|
50 |
return id; |
|
51 |
} |
|
52 |
public void setId(String id) { |
|
53 |
this.id = id; |
|
54 |
} |
|
55 |
public String getCompanyName() { |
|
56 |
return companyName; |
|
57 |
} |
|
58 |
public void setCompanyName(String companyName) { |
|
59 |
this.companyName = companyName; |
|
60 |
} |
|
61 |
public String getCompanyNo() { |
|
62 |
return companyNo; |
|
63 |
} |
|
64 |
public void setCompanyNo(String companyNo) { |
|
65 |
this.companyNo = companyNo; |
|
66 |
} |
|
67 |
public String getCreateName() { |
|
68 |
return createName; |
|
69 |
} |
|
70 |
public void setCreateName(String createName) { |
|
71 |
this.createName = createName; |
|
72 |
} |
|
73 |
public String getCreateid() { |
|
74 |
return createid; |
|
75 |
} |
|
76 |
public void setCreateid(String createid) { |
|
77 |
this.createid = createid; |
|
78 |
} |
|
79 |
public Date getCtime() { |
|
80 |
return ctime; |
|
81 |
} |
|
82 |
public void setCtime(Date ctime) { |
|
83 |
this.ctime = ctime; |
|
84 |
} |
|
85 |
public String getDriver() { |
|
86 |
return driver; |
|
87 |
} |
|
88 |
public void setDriver(String driver) { |
|
89 |
this.driver = driver; |
|
90 |
} |
|
91 |
public String getFdsheetNo() { |
|
92 |
return fdsheetNo; |
|
93 |
} |
|
94 |
public void setFdsheetNo(String fdsheetNo) { |
|
95 |
this.fdsheetNo = fdsheetNo; |
|
96 |
} |
|
97 |
public String getPhone() { |
|
98 |
return phone; |
|
99 |
} |
|
100 |
public void setPhone(String phone) { |
|
101 |
this.phone = phone; |
|
102 |
} |
|
103 |
public String getVehicleId() { |
|
104 |
return vehicleId; |
|
105 |
} |
|
106 |
public void setVehicleId(String vehicleId) { |
|
107 |
this.vehicleId = vehicleId; |
|
108 |
} |
|
109 |
public String getBsNo() { |
|
110 |
return bsNo; |
|
111 |
} |
|
112 |
public void setBsNo(String bsNo) { |
|
113 |
this.bsNo = bsNo; |
|
114 |
} |
|
115 |
public Serviceenum getStatus() { |
|
116 |
return status; |
|
117 |
} |
|
118 |
public void setStatus(Serviceenum status) { |
|
119 |
this.status = status; |
|
120 |
} |
|
121 |
public boolean isSendmsg() { |
|
122 |
return sendmsg; |
|
123 |
} |
|
124 |
public void setSendmsg(boolean sendmsg) { |
|
125 |
this.sendmsg = sendmsg; |
|
126 |
} |
|
127 |
public String getSdepartNo() { |
|
128 |
return sdepartNo; |
|
129 |
} |
|
130 |
public void setSdepartNo(String sdepartNo) { |
|
131 |
this.sdepartNo = sdepartNo; |
|
132 |
} |
|
133 |
public String getInvitecode() { |
|
134 |
return invitecode; |
|
135 |
} |
|
136 |
public void setInvitecode(String invitecode) { |
|
137 |
this.invitecode = invitecode; |
|
138 |
} |
|
139 |
public String getShdw() { |
|
140 |
return shdw; |
|
141 |
} |
|
142 |
public void setShdw(String shdw) { |
|
143 |
this.shdw = shdw; |
|
144 |
} |
|
145 |
public Date getUpdateTime() { |
|
146 |
return updateTime; |
|
147 |
} |
|
148 |
public void setUpdateTime(Date updateTime) { |
|
149 |
this.updateTime = updateTime; |
|
150 |
} |
|
151 |
|
|
152 |
} |