Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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;
16
 
17
    public String getSupplierGstin() {
18
        return supplierGstin;
19
    }
20
 
21
    public void setSupplierGstin(String supplierGstin) {
22
        this.supplierGstin = supplierGstin;
23
    }
24
 
25
    public String getPlaceOfDispatch() {
26
        return placeOfDispatch;
27
    }
28
 
29
    public void setPlaceOfDispatch(String placeOfDispatch) {
30
        this.placeOfDispatch = placeOfDispatch;
31
    }
32
 
33
    public String getRecipientGstin() {
34
        return recipientGstin;
35
    }
36
 
37
    public void setRecipientGstin(String recipientGstin) {
38
        this.recipientGstin = recipientGstin;
39
    }
40
 
41
    public String getPlaceOfDelivery() {
42
        return placeOfDelivery;
43
    }
44
 
45
    public void setPlaceOfDelivery(String placeOfDelivery) {
46
        this.placeOfDelivery = placeOfDelivery;
47
    }
48
 
49
    public String getDocumentNumber() {
50
        return documentNumber;
51
    }
52
 
53
    public void setDocumentNumber(String documentNumber) {
54
        this.documentNumber = documentNumber;
55
    }
56
 
57
    public String getDocumentDate() {
58
        return documentDate;
59
    }
60
 
61
    public void setDocumentDate(String documentDate) {
62
        this.documentDate = documentDate;
63
    }
64
 
65
    public String getTransactType() {
66
        return transactType;
67
    }
68
 
69
    public void setTransactType(String transactType) {
70
        this.transactType = transactType;
71
    }
72
 
73
    public String getValueOfGoods() {
74
        return valueOfGoods;
75
    }
76
 
77
    public void setValueOfGoods(String valueOfGoods) {
78
        this.valueOfGoods = valueOfGoods;
79
    }
80
 
81
    public String getHsnCode() {
82
        return hsnCode;
83
    }
84
 
85
    public void setHsnCode(String hsnCode) {
86
        this.hsnCode = hsnCode;
87
    }
88
 
89
    public String getReasonForTransportation() {
90
        return reasonForTransportation;
91
    }
92
 
93
    public void setReasonForTransportation(String reasonForTransportation) {
94
        this.reasonForTransportation = reasonForTransportation;
95
    }
96
 
97
    @Override
98
    public String toString() {
99
        return "EWBPartAModel{" +
100
                "supplierGstin='" + supplierGstin + '\'' +
101
                ", placeOfDispatch='" + placeOfDispatch + '\'' +
102
                ", recipientGstin='" + recipientGstin + '\'' +
103
                ", placeOfDelivery='" + placeOfDelivery + '\'' +
104
                ", documentNumber='" + documentNumber + '\'' +
105
                ", documentDate='" + documentDate + '\'' +
106
                ", transactType='" + transactType + '\'' +
107
                ", valueOfGoods='" + valueOfGoods + '\'' +
108
                ", hsnCode='" + hsnCode + '\'' +
109
                ", reasonForTransportation='" + reasonForTransportation + '\'' +
110
                '}';
111
    }
112
 
113
    @Override
114
    public boolean equals(Object o) {
115
        if (this == o) return true;
116
        if (o == null || getClass() != o.getClass()) return false;
117
        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);
119
    }
120
 
121
    @Override
122
    public int hashCode() {
123
        return Objects.hash(supplierGstin, placeOfDispatch, recipientGstin, placeOfDelivery, documentNumber, documentDate, transactType, valueOfGoods, hsnCode, reasonForTransportation);
124
    }
125
}