提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.fendan.persist; |
A |
2 |
|
|
3 |
import java.io.Serializable; |
|
4 |
|
|
5 |
import javax.persistence.Entity; |
|
6 |
import javax.persistence.EnumType; |
|
7 |
import javax.persistence.Enumerated; |
|
8 |
import javax.persistence.Id; |
|
9 |
import javax.persistence.Table; |
|
10 |
import javax.persistence.UniqueConstraint; |
|
11 |
|
|
12 |
/** |
|
13 |
* @author cx |
|
14 |
* @version 创建时间:2017年10月23日 |
|
15 |
* 类说明 |
|
16 |
*/ |
|
17 |
@Entity |
|
18 |
@Table(name="fd_vehicle",uniqueConstraints={@UniqueConstraint(columnNames="vehicleId")}) |
|
19 |
public class Fd_Vehicle implements Serializable{ |
|
20 |
@Id |
|
21 |
private String id; |
|
22 |
private String companyNo; |
|
23 |
private String driver; |
|
24 |
private double loadweight;//载重 |
|
25 |
private String note; |
|
26 |
private String phone; |
|
27 |
private boolean state;//启用/禁用 |
|
28 |
private String vehicleId;//车牌号 |
|
29 |
private double vehicleweight;//车重 |
|
30 |
@Enumerated(EnumType.STRING) |
|
31 |
private VehicleType type;//车辆类型 |
|
32 |
|
|
33 |
private String feature;//特征描述 |
|
34 |
private String IDNum;//身份证号 |
|
35 |
|
|
36 |
@Enumerated(EnumType.STRING) |
|
37 |
private VehicleStatus status;//车辆状态 这个值没有什么用了 |
|
38 |
public String getId() { |
|
39 |
return id; |
|
40 |
} |
|
41 |
public void setId(String id) { |
|
42 |
this.id = id; |
|
43 |
} |
|
44 |
public String getCompanyNo() { |
|
45 |
return companyNo; |
|
46 |
} |
|
47 |
public void setCompanyNo(String companyNo) { |
|
48 |
this.companyNo = companyNo; |
|
49 |
} |
|
50 |
public String getDriver() { |
|
51 |
return driver; |
|
52 |
} |
|
53 |
public void setDriver(String driver) { |
|
54 |
this.driver = driver; |
|
55 |
} |
|
56 |
public double getLoadweight() { |
|
57 |
return loadweight; |
|
58 |
} |
|
59 |
public void setLoadweight(double loadweight) { |
|
60 |
this.loadweight = loadweight; |
|
61 |
} |
|
62 |
public String getNote() { |
|
63 |
return note; |
|
64 |
} |
|
65 |
public void setNote(String note) { |
|
66 |
this.note = note; |
|
67 |
} |
|
68 |
public String getPhone() { |
|
69 |
return phone; |
|
70 |
} |
|
71 |
public void setPhone(String phone) { |
|
72 |
this.phone = phone; |
|
73 |
} |
|
74 |
public boolean isState() { |
|
75 |
return state; |
|
76 |
} |
|
77 |
public void setState(boolean state) { |
|
78 |
this.state = state; |
|
79 |
} |
|
80 |
public String getVehicleId() { |
|
81 |
return vehicleId; |
|
82 |
} |
|
83 |
public void setVehicleId(String vehicleId) { |
|
84 |
this.vehicleId = vehicleId; |
|
85 |
} |
|
86 |
public double getVehicleweight() { |
|
87 |
return vehicleweight; |
|
88 |
} |
|
89 |
public void setVehicleweight(double vehicleweight) { |
|
90 |
this.vehicleweight = vehicleweight; |
|
91 |
} |
|
92 |
public VehicleType getType() { |
|
93 |
return type; |
|
94 |
} |
|
95 |
public void setType(VehicleType type) { |
|
96 |
this.type = type; |
|
97 |
} |
|
98 |
public VehicleStatus getStatus() { |
|
99 |
return status; |
|
100 |
} |
|
101 |
public void setStatus(VehicleStatus status) { |
|
102 |
this.status = status; |
|
103 |
} |
|
104 |
public String getFeature() { |
|
105 |
return feature; |
|
106 |
} |
|
107 |
public void setFeature(String feature) { |
|
108 |
this.feature = feature; |
|
109 |
} |
|
110 |
public String getIDNum() { |
|
111 |
return IDNum; |
|
112 |
} |
|
113 |
public void setIDNum(String iDNum) { |
|
114 |
IDNum = iDNum; |
|
115 |
} |
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
} |