提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.fendan.persist; |
A |
2 |
|
|
3 |
import java.util.Date; |
|
4 |
|
|
5 |
import javax.persistence.Entity; |
|
6 |
import javax.persistence.GeneratedValue; |
|
7 |
import javax.persistence.GenerationType; |
|
8 |
import javax.persistence.Id; |
|
9 |
import javax.persistence.Table; |
|
10 |
import javax.persistence.Temporal; |
|
11 |
import javax.persistence.TemporalType; |
|
12 |
|
|
13 |
@Entity |
|
14 |
@Table(name="fd_errsheet") |
|
15 |
public class ErrSheet { |
|
16 |
@Id |
|
17 |
@GeneratedValue(strategy=GenerationType.AUTO) |
|
18 |
private long id; |
|
19 |
private String vehicleId; |
|
20 |
private String bsNo; |
|
21 |
private String ZZ; |
|
22 |
private String errmsg; |
|
23 |
@Temporal(TemporalType.TIMESTAMP) |
|
24 |
private Date lasttime;//最后修改时间 |
|
25 |
private int fsnum;//发送次数 |
|
26 |
|
|
27 |
|
|
28 |
public long getId() { |
|
29 |
return id; |
|
30 |
} |
|
31 |
public void setId(long id) { |
|
32 |
this.id = id; |
|
33 |
} |
|
34 |
public String getVehicleId() { |
|
35 |
return vehicleId; |
|
36 |
} |
|
37 |
public void setVehicleId(String vehicleId) { |
|
38 |
this.vehicleId = vehicleId; |
|
39 |
} |
|
40 |
public String getBsNo() { |
|
41 |
return bsNo; |
|
42 |
} |
|
43 |
public void setBsNo(String bsNo) { |
|
44 |
this.bsNo = bsNo; |
|
45 |
} |
|
46 |
public String getZZ() { |
|
47 |
return ZZ; |
|
48 |
} |
|
49 |
public void setZZ(String zZ) { |
|
50 |
ZZ = zZ; |
|
51 |
} |
|
52 |
public String getErrmsg() { |
|
53 |
return errmsg; |
|
54 |
} |
|
55 |
public void setErrmsg(String errmsg) { |
|
56 |
this.errmsg = errmsg; |
|
57 |
} |
|
58 |
public Date getLasttime() { |
|
59 |
return lasttime; |
|
60 |
} |
|
61 |
public void setLasttime(Date lasttime) { |
|
62 |
this.lasttime = lasttime; |
|
63 |
} |
|
64 |
public int getFsnum() { |
|
65 |
return fsnum; |
|
66 |
} |
|
67 |
public void setFsnum(int fsnum) { |
|
68 |
this.fsnum = fsnum; |
|
69 |
} |
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
} |