| 33741 |
amit.gupta |
1 |
package com.spice.profitmandi.common.model;
|
|
|
2 |
|
|
|
3 |
import java.util.Objects;
|
|
|
4 |
|
|
|
5 |
public class EWBPartAModel {
|
|
|
6 |
private String supplierGstin;
|
|
|
7 |
private String placeOfDispatch;
|
|
|
8 |
private String recipientGstin;
|
|
|
9 |
private String placeOfDelivery;
|
|
|
10 |
private String documentNumber;
|
|
|
11 |
private String documentDate;
|
|
|
12 |
private String transactType;
|
|
|
13 |
private String valueOfGoods;
|
|
|
14 |
private String hsnCode;
|
|
|
15 |
private String reasonForTransportation;
|
| 33742 |
amit.gupta |
16 |
private String transporter;
|
| 33741 |
amit.gupta |
17 |
|
|
|
18 |
public String getSupplierGstin() {
|
|
|
19 |
return supplierGstin;
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
public void setSupplierGstin(String supplierGstin) {
|
|
|
23 |
this.supplierGstin = supplierGstin;
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
public String getPlaceOfDispatch() {
|
|
|
27 |
return placeOfDispatch;
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public void setPlaceOfDispatch(String placeOfDispatch) {
|
|
|
31 |
this.placeOfDispatch = placeOfDispatch;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
public String getRecipientGstin() {
|
|
|
35 |
return recipientGstin;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
public void setRecipientGstin(String recipientGstin) {
|
|
|
39 |
this.recipientGstin = recipientGstin;
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
public String getPlaceOfDelivery() {
|
|
|
43 |
return placeOfDelivery;
|
|
|
44 |
}
|
|
|
45 |
|
|
|
46 |
public void setPlaceOfDelivery(String placeOfDelivery) {
|
|
|
47 |
this.placeOfDelivery = placeOfDelivery;
|
|
|
48 |
}
|
|
|
49 |
|
|
|
50 |
public String getDocumentNumber() {
|
|
|
51 |
return documentNumber;
|
|
|
52 |
}
|
|
|
53 |
|
|
|
54 |
public void setDocumentNumber(String documentNumber) {
|
|
|
55 |
this.documentNumber = documentNumber;
|
|
|
56 |
}
|
|
|
57 |
|
|
|
58 |
public String getDocumentDate() {
|
|
|
59 |
return documentDate;
|
|
|
60 |
}
|
|
|
61 |
|
|
|
62 |
public void setDocumentDate(String documentDate) {
|
|
|
63 |
this.documentDate = documentDate;
|
|
|
64 |
}
|
|
|
65 |
|
|
|
66 |
public String getTransactType() {
|
|
|
67 |
return transactType;
|
|
|
68 |
}
|
|
|
69 |
|
|
|
70 |
public void setTransactType(String transactType) {
|
|
|
71 |
this.transactType = transactType;
|
|
|
72 |
}
|
|
|
73 |
|
|
|
74 |
public String getValueOfGoods() {
|
|
|
75 |
return valueOfGoods;
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
public void setValueOfGoods(String valueOfGoods) {
|
|
|
79 |
this.valueOfGoods = valueOfGoods;
|
|
|
80 |
}
|
|
|
81 |
|
|
|
82 |
public String getHsnCode() {
|
|
|
83 |
return hsnCode;
|
|
|
84 |
}
|
|
|
85 |
|
|
|
86 |
public void setHsnCode(String hsnCode) {
|
|
|
87 |
this.hsnCode = hsnCode;
|
|
|
88 |
}
|
|
|
89 |
|
|
|
90 |
public String getReasonForTransportation() {
|
|
|
91 |
return reasonForTransportation;
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
public void setReasonForTransportation(String reasonForTransportation) {
|
|
|
95 |
this.reasonForTransportation = reasonForTransportation;
|
|
|
96 |
}
|
|
|
97 |
|
| 33742 |
amit.gupta |
98 |
public String getTransporter() {
|
|
|
99 |
return transporter;
|
|
|
100 |
}
|
|
|
101 |
|
|
|
102 |
public void setTransporter(String transporter) {
|
|
|
103 |
this.transporter = transporter;
|
|
|
104 |
}
|
|
|
105 |
|
| 33741 |
amit.gupta |
106 |
@Override
|
|
|
107 |
public String toString() {
|
|
|
108 |
return "EWBPartAModel{" +
|
|
|
109 |
"supplierGstin='" + supplierGstin + '\'' +
|
|
|
110 |
", placeOfDispatch='" + placeOfDispatch + '\'' +
|
|
|
111 |
", recipientGstin='" + recipientGstin + '\'' +
|
|
|
112 |
", placeOfDelivery='" + placeOfDelivery + '\'' +
|
|
|
113 |
", documentNumber='" + documentNumber + '\'' +
|
|
|
114 |
", documentDate='" + documentDate + '\'' +
|
|
|
115 |
", transactType='" + transactType + '\'' +
|
|
|
116 |
", valueOfGoods='" + valueOfGoods + '\'' +
|
|
|
117 |
", hsnCode='" + hsnCode + '\'' +
|
|
|
118 |
", reasonForTransportation='" + reasonForTransportation + '\'' +
|
| 33742 |
amit.gupta |
119 |
", transporter='" + transporter + '\'' +
|
| 33741 |
amit.gupta |
120 |
'}';
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
@Override
|
|
|
124 |
public boolean equals(Object o) {
|
|
|
125 |
if (this == o) return true;
|
|
|
126 |
if (o == null || getClass() != o.getClass()) return false;
|
|
|
127 |
EWBPartAModel that = (EWBPartAModel) o;
|
| 33742 |
amit.gupta |
128 |
return Objects.equals(supplierGstin, that.supplierGstin) && Objects.equals(placeOfDispatch, that.placeOfDispatch) && Objects.equals(recipientGstin, that.recipientGstin) && Objects.equals(placeOfDelivery, that.placeOfDelivery) && Objects.equals(documentNumber, that.documentNumber) && Objects.equals(documentDate, that.documentDate) && Objects.equals(transactType, that.transactType) && Objects.equals(valueOfGoods, that.valueOfGoods) && Objects.equals(hsnCode, that.hsnCode) && Objects.equals(reasonForTransportation, that.reasonForTransportation) && Objects.equals(transporter, that.transporter);
|
| 33741 |
amit.gupta |
129 |
}
|
|
|
130 |
|
|
|
131 |
@Override
|
|
|
132 |
public int hashCode() {
|
| 33742 |
amit.gupta |
133 |
return Objects.hash(supplierGstin, placeOfDispatch, recipientGstin, placeOfDelivery, documentNumber, documentDate, transactType, valueOfGoods, hsnCode, reasonForTransportation, transporter);
|
| 33741 |
amit.gupta |
134 |
}
|
| 33742 |
amit.gupta |
135 |
|
| 33741 |
amit.gupta |
136 |
}
|