Subversion Repositories SmartDukaan

Rev

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

Rev 35172 Rev 35174
Line 15... Line 15...
15
    long todayPoValue;
15
    long todayPoValue;
16
    long todayBilledValue;
16
    long todayBilledValue;
17
    String status;
17
    String status;
18
    long netAvailableQty;
18
    long netAvailableQty;
19
    long reservedQty;
19
    long reservedQty;
-
 
20
    private String bm;
-
 
21
    private String asm;
-
 
22
    private String rbm;
20
 
23
 
21
    public ModelWisePartnerPoModel(LocalDateTime createdAt, String partnerName, String code, int warehouseId, String brand, String model, int catalogId, String status, long quantity, long todayPoValue, long todayBilledValue) {
24
    public ModelWisePartnerPoModel(LocalDateTime createdAt, String partnerName, String code, int warehouseId, String brand, String model, int catalogId, String status, long quantity, long todayPoValue, long todayBilledValue) {
22
        this.createdAt = createdAt;
25
        this.createdAt = createdAt;
23
        this.partnerName = partnerName;
26
        this.partnerName = partnerName;
24
        this.warehouseId = warehouseId;
27
        this.warehouseId = warehouseId;
Line 134... Line 137...
134
 
137
 
135
    public void setCatalogId(int catalogId) {
138
    public void setCatalogId(int catalogId) {
136
        this.catalogId = catalogId;
139
        this.catalogId = catalogId;
137
    }
140
    }
138
 
141
 
-
 
142
    public String getBm() {
-
 
143
        return bm;
-
 
144
    }
-
 
145
 
-
 
146
    public void setBm(String bm) {
-
 
147
        this.bm = bm;
-
 
148
    }
-
 
149
 
-
 
150
    public String getAsm() {
-
 
151
        return asm;
-
 
152
    }
-
 
153
 
-
 
154
    public void setAsm(String asm) {
-
 
155
        this.asm = asm;
-
 
156
    }
-
 
157
 
-
 
158
    public String getRbm() {
-
 
159
        return rbm;
-
 
160
    }
-
 
161
 
-
 
162
    public void setRbm(String rbm) {
-
 
163
        this.rbm = rbm;
-
 
164
    }
-
 
165
 
139
    @Override
166
    @Override
140
    public boolean equals(Object o) {
167
    public boolean equals(Object o) {
141
        if (this == o) return true;
168
        if (this == o) return true;
142
        if (o == null || getClass() != o.getClass()) return false;
169
        if (o == null || getClass() != o.getClass()) return false;
143
        ModelWisePartnerPoModel that = (ModelWisePartnerPoModel) o;
170
        ModelWisePartnerPoModel that = (ModelWisePartnerPoModel) o;
144
        return warehouseId == that.warehouseId && catalogId == that.catalogId && quantity == that.quantity && todayPoValue == that.todayPoValue && todayBilledValue == that.todayBilledValue && netAvailableQty == that.netAvailableQty && reservedQty == that.reservedQty && Objects.equals(createdAt, that.createdAt) && Objects.equals(partnerName, that.partnerName) && Objects.equals(code, that.code) && Objects.equals(brand, that.brand) && Objects.equals(model, that.model) && Objects.equals(status, that.status);
171
        return warehouseId == that.warehouseId && catalogId == that.catalogId && quantity == that.quantity && todayPoValue == that.todayPoValue && todayBilledValue == that.todayBilledValue && netAvailableQty == that.netAvailableQty && reservedQty == that.reservedQty && Objects.equals(createdAt, that.createdAt) && Objects.equals(partnerName, that.partnerName) && Objects.equals(code, that.code) && Objects.equals(brand, that.brand) && Objects.equals(model, that.model) && Objects.equals(status, that.status) && Objects.equals(bm, that.bm) && Objects.equals(asm, that.asm) && Objects.equals(rbm, that.rbm);
145
    }
172
    }
146
 
173
 
147
    @Override
174
    @Override
148
    public int hashCode() {
175
    public int hashCode() {
149
        return Objects.hash(createdAt, partnerName, code, warehouseId, brand, model, catalogId, quantity, todayPoValue, todayBilledValue, status, netAvailableQty, reservedQty);
176
        return Objects.hash(createdAt, partnerName, code, warehouseId, brand, model, catalogId, quantity, todayPoValue, todayBilledValue, status, netAvailableQty, reservedQty, bm, asm, rbm);
150
    }
177
    }
151
 
178
 
152
    @Override
179
    @Override
153
    public String toString() {
180
    public String toString() {
154
        return "ModelWisePartnerPoModel{" +
181
        return "ModelWisePartnerPoModel{" +
Line 163... Line 190...
163
                ", todayPoValue=" + todayPoValue +
190
                ", todayPoValue=" + todayPoValue +
164
                ", todayBilledValue=" + todayBilledValue +
191
                ", todayBilledValue=" + todayBilledValue +
165
                ", status='" + status + '\'' +
192
                ", status='" + status + '\'' +
166
                ", netAvailableQty=" + netAvailableQty +
193
                ", netAvailableQty=" + netAvailableQty +
167
                ", reservedQty=" + reservedQty +
194
                ", reservedQty=" + reservedQty +
-
 
195
                ", bm='" + bm + '\'' +
-
 
196
                ", asm='" + asm + '\'' +
-
 
197
                ", rbm='" + rbm + '\'' +
168
                '}';
198
                '}';
169
    }
199
    }
170
}
200
}