Subversion Repositories SmartDukaan

Rev

Rev 33741 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33741 Rev 33742
Line 11... Line 11...
11
    private String documentDate;
11
    private String documentDate;
12
    private String transactType;
12
    private String transactType;
13
    private String valueOfGoods;
13
    private String valueOfGoods;
14
    private String hsnCode;
14
    private String hsnCode;
15
    private String reasonForTransportation;
15
    private String reasonForTransportation;
-
 
16
    private String transporter;
16
 
17
 
17
    public String getSupplierGstin() {
18
    public String getSupplierGstin() {
18
        return supplierGstin;
19
        return supplierGstin;
19
    }
20
    }
20
 
21
 
Line 92... Line 93...
92
 
93
 
93
    public void setReasonForTransportation(String reasonForTransportation) {
94
    public void setReasonForTransportation(String reasonForTransportation) {
94
        this.reasonForTransportation = reasonForTransportation;
95
        this.reasonForTransportation = reasonForTransportation;
95
    }
96
    }
96
 
97
 
-
 
98
    public String getTransporter() {
-
 
99
        return transporter;
-
 
100
    }
-
 
101
 
-
 
102
    public void setTransporter(String transporter) {
-
 
103
        this.transporter = transporter;
-
 
104
    }
-
 
105
 
97
    @Override
106
    @Override
98
    public String toString() {
107
    public String toString() {
99
        return "EWBPartAModel{" +
108
        return "EWBPartAModel{" +
100
                "supplierGstin='" + supplierGstin + '\'' +
109
                "supplierGstin='" + supplierGstin + '\'' +
101
                ", placeOfDispatch='" + placeOfDispatch + '\'' +
110
                ", placeOfDispatch='" + placeOfDispatch + '\'' +
Line 105... Line 114...
105
                ", documentDate='" + documentDate + '\'' +
114
                ", documentDate='" + documentDate + '\'' +
106
                ", transactType='" + transactType + '\'' +
115
                ", transactType='" + transactType + '\'' +
107
                ", valueOfGoods='" + valueOfGoods + '\'' +
116
                ", valueOfGoods='" + valueOfGoods + '\'' +
108
                ", hsnCode='" + hsnCode + '\'' +
117
                ", hsnCode='" + hsnCode + '\'' +
109
                ", reasonForTransportation='" + reasonForTransportation + '\'' +
118
                ", reasonForTransportation='" + reasonForTransportation + '\'' +
-
 
119
                ", transporter='" + transporter + '\'' +
110
                '}';
120
                '}';
111
    }
121
    }
112
 
122
 
113
    @Override
123
    @Override
114
    public boolean equals(Object o) {
124
    public boolean equals(Object o) {
115
        if (this == o) return true;
125
        if (this == o) return true;
116
        if (o == null || getClass() != o.getClass()) return false;
126
        if (o == null || getClass() != o.getClass()) return false;
117
        EWBPartAModel that = (EWBPartAModel) o;
127
        EWBPartAModel that = (EWBPartAModel) o;
118
        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);
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);
119
    }
129
    }
120
 
130
 
121
    @Override
131
    @Override
122
    public int hashCode() {
132
    public int hashCode() {
123
        return Objects.hash(supplierGstin, placeOfDispatch, recipientGstin, placeOfDelivery, documentNumber, documentDate, transactType, valueOfGoods, hsnCode, reasonForTransportation);
133
        return Objects.hash(supplierGstin, placeOfDispatch, recipientGstin, placeOfDelivery, documentNumber, documentDate, transactType, valueOfGoods, hsnCode, reasonForTransportation, transporter);
124
    }
134
    }
-
 
135
 
125
}
136
}