| 31568 |
tejbeer |
1 |
package com.spice.profitmandi.dao.service.dtdc;
|
|
|
2 |
|
|
|
3 |
import java.util.List;
|
|
|
4 |
|
|
|
5 |
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
6 |
|
|
|
7 |
public class Consignment {
|
|
|
8 |
|
|
|
9 |
@JsonProperty("customer_code")
|
|
|
10 |
private String customerCode;
|
|
|
11 |
|
|
|
12 |
@JsonProperty("reference_number")
|
|
|
13 |
private String referenceNumber;
|
|
|
14 |
|
|
|
15 |
@JsonProperty("service_type_id")
|
|
|
16 |
private String serviceTypeId;
|
|
|
17 |
|
|
|
18 |
@JsonProperty("load_type")
|
|
|
19 |
private String loadType;
|
|
|
20 |
|
|
|
21 |
@JsonProperty("description")
|
|
|
22 |
private String description;
|
|
|
23 |
|
|
|
24 |
@JsonProperty("cod_favor_of")
|
|
|
25 |
private String codFavorOf;
|
|
|
26 |
|
|
|
27 |
@JsonProperty("cod_collection_mode")
|
|
|
28 |
private String codCollectionMode;
|
|
|
29 |
|
|
|
30 |
@JsonProperty("consignment_type")
|
|
|
31 |
private String consignmentType;
|
|
|
32 |
|
|
|
33 |
@JsonProperty("weight_unit")
|
|
|
34 |
private String weghtUnit;
|
|
|
35 |
|
|
|
36 |
@JsonProperty("weight")
|
|
|
37 |
private double weight;
|
|
|
38 |
|
|
|
39 |
@JsonProperty("declared_value")
|
|
|
40 |
private int declaredValue;
|
|
|
41 |
|
|
|
42 |
@JsonProperty("commodity_id")
|
|
|
43 |
private String commodityId;
|
|
|
44 |
|
|
|
45 |
@JsonProperty("origin_details")
|
|
|
46 |
private OriginDetails originDetail;
|
|
|
47 |
|
|
|
48 |
@JsonProperty("destination_details")
|
|
|
49 |
private DestinationDetails destinationDetail;
|
|
|
50 |
|
|
|
51 |
@JsonProperty("pieces_detail")
|
|
|
52 |
private List<PiecesDetail> piecesDetails;
|
|
|
53 |
|
|
|
54 |
public String getCustomerCode() {
|
|
|
55 |
return customerCode;
|
|
|
56 |
}
|
|
|
57 |
|
|
|
58 |
public void setCustomerCode(String customerCode) {
|
|
|
59 |
this.customerCode = customerCode;
|
|
|
60 |
}
|
|
|
61 |
|
|
|
62 |
public String getReferenceNumber() {
|
|
|
63 |
return referenceNumber;
|
|
|
64 |
}
|
|
|
65 |
|
|
|
66 |
public void setReferenceNumber(String referenceNumber) {
|
|
|
67 |
this.referenceNumber = referenceNumber;
|
|
|
68 |
}
|
|
|
69 |
|
|
|
70 |
public String getServiceTypeId() {
|
|
|
71 |
return serviceTypeId;
|
|
|
72 |
}
|
|
|
73 |
|
|
|
74 |
public void setServiceTypeId(String serviceTypeId) {
|
|
|
75 |
this.serviceTypeId = serviceTypeId;
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
public String getLoadType() {
|
|
|
79 |
return loadType;
|
|
|
80 |
}
|
|
|
81 |
|
|
|
82 |
public void setLoadType(String loadType) {
|
|
|
83 |
this.loadType = loadType;
|
|
|
84 |
}
|
|
|
85 |
|
|
|
86 |
public String getDescription() {
|
|
|
87 |
return description;
|
|
|
88 |
}
|
|
|
89 |
|
|
|
90 |
public void setDescription(String description) {
|
|
|
91 |
this.description = description;
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
public String getCodFavorOf() {
|
|
|
95 |
return codFavorOf;
|
|
|
96 |
}
|
|
|
97 |
|
|
|
98 |
public void setCodFavorOf(String codFavorOf) {
|
|
|
99 |
this.codFavorOf = codFavorOf;
|
|
|
100 |
}
|
|
|
101 |
|
|
|
102 |
public String getCodCollectionMode() {
|
|
|
103 |
return codCollectionMode;
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
public void setCodCollectionMode(String codCollectionMode) {
|
|
|
107 |
this.codCollectionMode = codCollectionMode;
|
|
|
108 |
}
|
|
|
109 |
|
|
|
110 |
public String getConsignmentType() {
|
|
|
111 |
return consignmentType;
|
|
|
112 |
}
|
|
|
113 |
|
|
|
114 |
public void setConsignmentType(String consignmentType) {
|
|
|
115 |
this.consignmentType = consignmentType;
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
public String getWeghtUnit() {
|
|
|
119 |
return weghtUnit;
|
|
|
120 |
}
|
|
|
121 |
|
|
|
122 |
public void setWeghtUnit(String weghtUnit) {
|
|
|
123 |
this.weghtUnit = weghtUnit;
|
|
|
124 |
}
|
|
|
125 |
|
|
|
126 |
public double getWeight() {
|
|
|
127 |
return weight;
|
|
|
128 |
}
|
|
|
129 |
|
|
|
130 |
public void setWeight(double weight) {
|
|
|
131 |
this.weight = weight;
|
|
|
132 |
}
|
|
|
133 |
|
|
|
134 |
public int getDeclaredValue() {
|
|
|
135 |
return declaredValue;
|
|
|
136 |
}
|
|
|
137 |
|
|
|
138 |
public void setDeclaredValue(int declaredValue) {
|
|
|
139 |
this.declaredValue = declaredValue;
|
|
|
140 |
}
|
|
|
141 |
|
|
|
142 |
public String getCommodityId() {
|
|
|
143 |
return commodityId;
|
|
|
144 |
}
|
|
|
145 |
|
|
|
146 |
public void setCommodityId(String commodityId) {
|
|
|
147 |
this.commodityId = commodityId;
|
|
|
148 |
}
|
|
|
149 |
|
|
|
150 |
public OriginDetails getOriginDetail() {
|
|
|
151 |
return originDetail;
|
|
|
152 |
}
|
|
|
153 |
|
|
|
154 |
public void setOriginDetail(OriginDetails originDetail) {
|
|
|
155 |
this.originDetail = originDetail;
|
|
|
156 |
}
|
|
|
157 |
|
|
|
158 |
public DestinationDetails getDestinationDetail() {
|
|
|
159 |
return destinationDetail;
|
|
|
160 |
}
|
|
|
161 |
|
|
|
162 |
public void setDestinationDetail(DestinationDetails destinationDetail) {
|
|
|
163 |
this.destinationDetail = destinationDetail;
|
|
|
164 |
}
|
|
|
165 |
|
|
|
166 |
public List<PiecesDetail> getPiecesDetails() {
|
|
|
167 |
return piecesDetails;
|
|
|
168 |
}
|
|
|
169 |
|
|
|
170 |
public void setPiecesDetails(List<PiecesDetail> piecesDetails) {
|
|
|
171 |
this.piecesDetails = piecesDetails;
|
|
|
172 |
}
|
|
|
173 |
|
|
|
174 |
@Override
|
|
|
175 |
public String toString() {
|
|
|
176 |
return "Consignments [customerCode=" + customerCode + ", referenceNumber=" + referenceNumber
|
|
|
177 |
+ ", serviceTypeId=" + serviceTypeId + ", loadType=" + loadType + ", description=" + description
|
|
|
178 |
+ ", codFavorOf=" + codFavorOf + ", codCollectionMode=" + codCollectionMode + ", consignmentType="
|
|
|
179 |
+ consignmentType + ", weghtUnit=" + weghtUnit + ", weight=" + weight + ", declaredValue="
|
|
|
180 |
+ declaredValue + ", commodityId=" + commodityId + ", originDetail=" + originDetail
|
|
|
181 |
+ ", destinationDetail=" + destinationDetail + ", piecesDetails=" + piecesDetails + "]";
|
|
|
182 |
}
|
|
|
183 |
|
|
|
184 |
}
|