Subversion Repositories SmartDukaan

Rev

Rev 35172 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.time.LocalDateTime;
import java.util.Objects;

public class ModelWisePartnerPoModel {
    LocalDateTime createdAt;
    String partnerName;
    String code;
    int warehouseId;
    String brand;
    String model;
    int catalogId;
    long quantity;
    long todayPoValue;
    long todayBilledValue;
    String status;
    long netAvailableQty;
    long reservedQty;
    private String bm;
    private String asm;
    private String rbm;

    public ModelWisePartnerPoModel(LocalDateTime createdAt, String partnerName, String code, int warehouseId, String brand, String model, int catalogId, String status, long quantity, long todayPoValue, long todayBilledValue) {
        this.createdAt = createdAt;
        this.partnerName = partnerName;
        this.warehouseId = warehouseId;
        this.code = code;
        this.catalogId = catalogId;
        this.brand = brand;
        this.model = model;
        this.status = status;
        this.quantity = quantity;
        this.todayPoValue = todayPoValue;
        this.todayBilledValue = todayBilledValue;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    public String getPartnerName() {
        return partnerName;
    }

    public void setPartnerName(String partnerName) {
        this.partnerName = partnerName;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public long getQuantity() {
        return quantity;
    }

    public void setQuantity(long quantity) {
        this.quantity = quantity;
    }

    public long getTodayPoValue() {
        return todayPoValue;
    }

    public void setTodayPoValue(long todayPoValue) {
        this.todayPoValue = todayPoValue;
    }

    public long getTodayBilledValue() {
        return todayBilledValue;
    }

    public void setTodayBilledValue(long todayBilledValue) {
        this.todayBilledValue = todayBilledValue;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public long getNetAvailableQty() {
        return netAvailableQty;
    }

    public void setNetAvailableQty(long netAvailableQty) {
        this.netAvailableQty = netAvailableQty;
    }

    public long getReservedQty() {
        return reservedQty;
    }

    public void setReservedQty(long reservedQty) {
        this.reservedQty = reservedQty;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(int warehouseId) {
        this.warehouseId = warehouseId;
    }

    public int getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(int catalogId) {
        this.catalogId = catalogId;
    }

    public String getBm() {
        return bm;
    }

    public void setBm(String bm) {
        this.bm = bm;
    }

    public String getAsm() {
        return asm;
    }

    public void setAsm(String asm) {
        this.asm = asm;
    }

    public String getRbm() {
        return rbm;
    }

    public void setRbm(String rbm) {
        this.rbm = rbm;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ModelWisePartnerPoModel that = (ModelWisePartnerPoModel) o;
        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);
    }

    @Override
    public int hashCode() {
        return Objects.hash(createdAt, partnerName, code, warehouseId, brand, model, catalogId, quantity, todayPoValue, todayBilledValue, status, netAvailableQty, reservedQty, bm, asm, rbm);
    }

    @Override
    public String toString() {
        return "ModelWisePartnerPoModel{" +
                "createdAt=" + createdAt +
                ", partnerName='" + partnerName + '\'' +
                ", code='" + code + '\'' +
                ", warehouseId=" + warehouseId +
                ", brand='" + brand + '\'' +
                ", model='" + model + '\'' +
                ", catalogId=" + catalogId +
                ", quantity=" + quantity +
                ", todayPoValue=" + todayPoValue +
                ", todayBilledValue=" + todayBilledValue +
                ", status='" + status + '\'' +
                ", netAvailableQty=" + netAvailableQty +
                ", reservedQty=" + reservedQty +
                ", bm='" + bm + '\'' +
                ", asm='" + asm + '\'' +
                ", rbm='" + rbm + '\'' +
                '}';
    }
}