Subversion Repositories SmartDukaan

Rev

View as "text/plain" | Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.time.LocalDateTime;

public class FocoSaleReportModel {

        private  String code;
        private  String name;
        private  String city;
        private  String state;
        
        private  String region;
        private  int itemId;
        private  String brand;
        private  String modelName;
        private  String modelNumber;
        
        private  String color;
        private  int quantity;
        private  int dp;        
        private  int sellingPrice;
    private  int mop;
        
        private  String serialNumber;
        private  LocalDateTime CreateDate;
        private  String customerName;
        private  String customerPhone;
        private  String customerCity;

        private  String customerPincode;
        private  String invoiceNumber;
        private  String purchaseReference;
        private  String customerGstNumber;
        private  LocalDateTime cancelledTimestamp;
        
        private  LocalDateTime grnCompleteDate;
        private  Boolean hygieneRating;
        private  Integer rating;
        private  String status;
        
        private  String remark;
        private  LocalDateTime createdTimestamp;

        private  LocalDateTime disposedTimestamp;
        private  LocalDateTime nextTimestamp;
        private  LocalDateTime activationTimestamp;
        private  LocalDateTime createTimestamp;
        private  String label;
        public String getCode() {
                return code;
        }
        public void setCode(String code) {
                this.code = code;
        }
        public String getName() {
                return name;
        }
        public void setName(String name) {
                this.name = name;
        }
        public String getCity() {
                return city;
        }
        public void setCity(String city) {
                this.city = city;
        }
        public String getState() {
                return state;
        }
        public void setState(String state) {
                this.state = state;
        }
        public String getRegion() {
                return region;
        }
        public void setRegion(String region) {
                this.region = region;
        }
        public int getItemId() {
                return itemId;
        }
        public void setItemId(int itemId) {
                this.itemId = itemId;
        }
        public String getBrand() {
                return brand;
        }
        public void setBrand(String brand) {
                this.brand = brand;
        }
        public String getModelName() {
                return modelName;
        }
        public void setModelName(String modelName) {
                this.modelName = modelName;
        }
        
        public String getColor() {
                return color;
        }
        public void setColor(String color) {
                this.color = color;
        }
        public int getQuantity() {
                return quantity;
        }
        public void setQuantity(int quantity) {
                this.quantity = quantity;
        }
        public int getDp() {
                return dp;
        }
        public void setDp(int dp) {
                this.dp = dp;
        }
        
        public String getModelNumber() {
                return modelNumber;
        }
        public void setModelNumber(String modelNumber) {
                this.modelNumber = modelNumber;
        }
        public int getSellingPrice() {
                return sellingPrice;
        }
        public void setSellingPrice(int sellingPrice) {
                this.sellingPrice = sellingPrice;
        }
        public int getMop() {
                return mop;
        }
        public void setMop(int mop) {
                this.mop = mop;
        }
        public String getSerialNumber() {
                return serialNumber;
        }
        public void setSerialNumber(String serialNumber) {
                this.serialNumber = serialNumber;
        }
        public LocalDateTime getCreateDate() {
                return CreateDate;
        }
        public void setCreateDate(LocalDateTime createDate) {
                CreateDate = createDate;
        }
        public String getCustomerName() {
                return customerName;
        }
        public void setCustomerName(String customerName) {
                this.customerName = customerName;
        }
        public String getCustomerPhone() {
                return customerPhone;
        }
        public void setCustomerPhone(String customerPhone) {
                this.customerPhone = customerPhone;
        }
        public String getCustomerCity() {
                return customerCity;
        }
        public void setCustomerCity(String customerCity) {
                this.customerCity = customerCity;
        }
        public String getCustomerPincode() {
                return customerPincode;
        }
        public void setCustomerPincode(String customerPincode) {
                this.customerPincode = customerPincode;
        }
        public String getInvoiceNumber() {
                return invoiceNumber;
        }
        public void setInvoiceNumber(String invoiceNumber) {
                this.invoiceNumber = invoiceNumber;
        }
        public String getPurchaseReference() {
                return purchaseReference;
        }
        public void setPurchaseReference(String purchaseReference) {
                this.purchaseReference = purchaseReference;
        }
        public String getCustomerGstNumber() {
                return customerGstNumber;
        }
        public void setCustomerGstNumber(String customerGstNumber) {
                this.customerGstNumber = customerGstNumber;
        }
        public LocalDateTime getCancelledTimestamp() {
                return cancelledTimestamp;
        }
        public void setCancelledTimestamp(LocalDateTime cancelledTimestamp) {
                this.cancelledTimestamp = cancelledTimestamp;
        }
        public LocalDateTime getGrnCompleteDate() {
                return grnCompleteDate;
        }
        public void setGrnCompleteDate(LocalDateTime grnCompleteDate) {
                this.grnCompleteDate = grnCompleteDate;
        }
        public Boolean getHygieneRating() {
                return hygieneRating;
        }
        public void setHygieneRating(Boolean hygieneRating) {
                this.hygieneRating = hygieneRating;
        }
        public Integer getRating() {
                return rating;
        }
        public void setRating(Integer rating) {
                this.rating = rating;
        }
        public String getStatus() {
                return status;
        }
        public void setStatus(String status) {
                this.status = status;
        }
        public String getRemark() {
                return remark;
        }
        public void setRemark(String remark) {
                this.remark = remark;
        }
        public LocalDateTime getCreatedTimestamp() {
                return createdTimestamp;
        }
        public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
                this.createdTimestamp = createdTimestamp;
        }
        public LocalDateTime getDisposedTimestamp() {
                return disposedTimestamp;
        }
        public void setDisposedTimestamp(LocalDateTime disposedTimestamp) {
                this.disposedTimestamp = disposedTimestamp;
        }
        public LocalDateTime getNextTimestamp() {
                return nextTimestamp;
        }
        public void setNextTimestamp(LocalDateTime nextTimestamp) {
                this.nextTimestamp = nextTimestamp;
        }
        public LocalDateTime getActivationTimestamp() {
                return activationTimestamp;
        }
        public void setActivationTimestamp(LocalDateTime activationTimestamp) {
                this.activationTimestamp = activationTimestamp;
        }
        public LocalDateTime getCreateTimestamp() {
                return createTimestamp;
        }
        public void setCreateTimestamp(LocalDateTime createTimestamp) {
                this.createTimestamp = createTimestamp;
        }
        public String getLabel() {
                return label;
        }
        public void setLabel(String label) {
                this.label = label;
        }
        @Override
        public int hashCode() {
                final int prime = 31;
                int result = 1;
                result = prime * result + ((CreateDate == null) ? 0 : CreateDate.hashCode());
                result = prime * result + ((activationTimestamp == null) ? 0 : activationTimestamp.hashCode());
                result = prime * result + ((brand == null) ? 0 : brand.hashCode());
                result = prime * result + ((cancelledTimestamp == null) ? 0 : cancelledTimestamp.hashCode());
                result = prime * result + ((city == null) ? 0 : city.hashCode());
                result = prime * result + ((code == null) ? 0 : code.hashCode());
                result = prime * result + ((color == null) ? 0 : color.hashCode());
                result = prime * result + ((createTimestamp == null) ? 0 : createTimestamp.hashCode());
                result = prime * result + ((createdTimestamp == null) ? 0 : createdTimestamp.hashCode());
                result = prime * result + ((customerCity == null) ? 0 : customerCity.hashCode());
                result = prime * result + ((customerGstNumber == null) ? 0 : customerGstNumber.hashCode());
                result = prime * result + ((customerName == null) ? 0 : customerName.hashCode());
                result = prime * result + ((customerPhone == null) ? 0 : customerPhone.hashCode());
                result = prime * result + ((customerPincode == null) ? 0 : customerPincode.hashCode());
                result = prime * result + ((disposedTimestamp == null) ? 0 : disposedTimestamp.hashCode());
                result = prime * result + dp;
                result = prime * result + ((grnCompleteDate == null) ? 0 : grnCompleteDate.hashCode());
                result = prime * result + ((hygieneRating == null) ? 0 : hygieneRating.hashCode());
                result = prime * result + ((invoiceNumber == null) ? 0 : invoiceNumber.hashCode());
                result = prime * result + itemId;
                result = prime * result + ((label == null) ? 0 : label.hashCode());
                result = prime * result + ((modelName == null) ? 0 : modelName.hashCode());
                result = prime * result + ((modelNumber == null) ? 0 : modelNumber.hashCode());
                result = prime * result + mop;
                result = prime * result + ((name == null) ? 0 : name.hashCode());
                result = prime * result + ((nextTimestamp == null) ? 0 : nextTimestamp.hashCode());
                result = prime * result + ((purchaseReference == null) ? 0 : purchaseReference.hashCode());
                result = prime * result + quantity;
                result = prime * result + rating;
                result = prime * result + ((region == null) ? 0 : region.hashCode());
                result = prime * result + ((remark == null) ? 0 : remark.hashCode());
                result = prime * result + sellingPrice;
                result = prime * result + ((serialNumber == null) ? 0 : serialNumber.hashCode());
                result = prime * result + ((state == null) ? 0 : state.hashCode());
                result = prime * result + ((status == null) ? 0 : status.hashCode());
                return result;
        }
        @Override
        public boolean equals(Object obj) {
                if (this == obj)
                        return true;
                if (obj == null)
                        return false;
                if (getClass() != obj.getClass())
                        return false;
                FocoSaleReportModel other = (FocoSaleReportModel) obj;
                if (CreateDate == null) {
                        if (other.CreateDate != null)
                                return false;
                } else if (!CreateDate.equals(other.CreateDate))
                        return false;
                if (activationTimestamp == null) {
                        if (other.activationTimestamp != null)
                                return false;
                } else if (!activationTimestamp.equals(other.activationTimestamp))
                        return false;
                if (brand == null) {
                        if (other.brand != null)
                                return false;
                } else if (!brand.equals(other.brand))
                        return false;
                if (cancelledTimestamp == null) {
                        if (other.cancelledTimestamp != null)
                                return false;
                } else if (!cancelledTimestamp.equals(other.cancelledTimestamp))
                        return false;
                if (city == null) {
                        if (other.city != null)
                                return false;
                } else if (!city.equals(other.city))
                        return false;
                if (code == null) {
                        if (other.code != null)
                                return false;
                } else if (!code.equals(other.code))
                        return false;
                if (color == null) {
                        if (other.color != null)
                                return false;
                } else if (!color.equals(other.color))
                        return false;
                if (createTimestamp == null) {
                        if (other.createTimestamp != null)
                                return false;
                } else if (!createTimestamp.equals(other.createTimestamp))
                        return false;
                if (createdTimestamp == null) {
                        if (other.createdTimestamp != null)
                                return false;
                } else if (!createdTimestamp.equals(other.createdTimestamp))
                        return false;
                if (customerCity == null) {
                        if (other.customerCity != null)
                                return false;
                } else if (!customerCity.equals(other.customerCity))
                        return false;
                if (customerGstNumber == null) {
                        if (other.customerGstNumber != null)
                                return false;
                } else if (!customerGstNumber.equals(other.customerGstNumber))
                        return false;
                if (customerName == null) {
                        if (other.customerName != null)
                                return false;
                } else if (!customerName.equals(other.customerName))
                        return false;
                if (customerPhone == null) {
                        if (other.customerPhone != null)
                                return false;
                } else if (!customerPhone.equals(other.customerPhone))
                        return false;
                if (customerPincode == null) {
                        if (other.customerPincode != null)
                                return false;
                } else if (!customerPincode.equals(other.customerPincode))
                        return false;
                if (disposedTimestamp == null) {
                        if (other.disposedTimestamp != null)
                                return false;
                } else if (!disposedTimestamp.equals(other.disposedTimestamp))
                        return false;
                if (dp != other.dp)
                        return false;
                if (grnCompleteDate == null) {
                        if (other.grnCompleteDate != null)
                                return false;
                } else if (!grnCompleteDate.equals(other.grnCompleteDate))
                        return false;
                if (hygieneRating == null) {
                        if (other.hygieneRating != null)
                                return false;
                } else if (!hygieneRating.equals(other.hygieneRating))
                        return false;
                if (invoiceNumber == null) {
                        if (other.invoiceNumber != null)
                                return false;
                } else if (!invoiceNumber.equals(other.invoiceNumber))
                        return false;
                if (itemId != other.itemId)
                        return false;
                if (label == null) {
                        if (other.label != null)
                                return false;
                } else if (!label.equals(other.label))
                        return false;
                if (modelName == null) {
                        if (other.modelName != null)
                                return false;
                } else if (!modelName.equals(other.modelName))
                        return false;
                if (modelNumber == null) {
                        if (other.modelNumber != null)
                                return false;
                } else if (!modelNumber.equals(other.modelNumber))
                        return false;
                if (mop != other.mop)
                        return false;
                if (name == null) {
                        if (other.name != null)
                                return false;
                } else if (!name.equals(other.name))
                        return false;
                if (nextTimestamp == null) {
                        if (other.nextTimestamp != null)
                                return false;
                } else if (!nextTimestamp.equals(other.nextTimestamp))
                        return false;
                if (purchaseReference == null) {
                        if (other.purchaseReference != null)
                                return false;
                } else if (!purchaseReference.equals(other.purchaseReference))
                        return false;
                if (quantity != other.quantity)
                        return false;
                if (rating != other.rating)
                        return false;
                if (region == null) {
                        if (other.region != null)
                                return false;
                } else if (!region.equals(other.region))
                        return false;
                if (remark == null) {
                        if (other.remark != null)
                                return false;
                } else if (!remark.equals(other.remark))
                        return false;
                if (sellingPrice != other.sellingPrice)
                        return false;
                if (serialNumber == null) {
                        if (other.serialNumber != null)
                                return false;
                } else if (!serialNumber.equals(other.serialNumber))
                        return false;
                if (state == null) {
                        if (other.state != null)
                                return false;
                } else if (!state.equals(other.state))
                        return false;
                if (status == null) {
                        if (other.status != null)
                                return false;
                } else if (!status.equals(other.status))
                        return false;
                return true;
        }
        
        
        
        @Override
        public String toString() {
                return "FocoSaleReportModel [code=" + code + ", name=" + name + ", city=" + city + ", state=" + state
                                + ", region=" + region + ", itemId=" + itemId + ", brand=" + brand + ", modelName=" + modelName
                                + ", model_number=" + modelNumber + ", color=" + color + ", quantity=" + quantity + ", dp=" + dp
                                + ", selling_price=" + sellingPrice + ", mop=" + mop + ", serialNumber=" + serialNumber
                                + ", CreateDate=" + CreateDate + ", customerName=" + customerName + ", customerPhone=" + customerPhone
                                + ", customerCity=" + customerCity + ", customerPincode=" + customerPincode + ", invoiceNumber="
                                + invoiceNumber + ", purchaseReference=" + purchaseReference + ", customerGstNumber="
                                + customerGstNumber + ", cancelledTimestamp=" + cancelledTimestamp + ", grnCompleteDate="
                                + grnCompleteDate + ", hygieneRating=" + hygieneRating + ", rating=" + rating + ", status=" + status
                                + ", remark=" + remark + ", createdTimestamp=" + createdTimestamp + ", disposedTimestamp="
                                + disposedTimestamp + ", nextTimestamp=" + nextTimestamp + ", activationTimestamp="
                                + activationTimestamp + ", createTimestamp=" + createTimestamp + ", label=" + label + "]";
        }
        public FocoSaleReportModel(String code, String name, String city, String state, String region, int itemId,
                        String brand, String modelName, String model_number, String color, int quantity, int dp, int selling_price,
                        int mop, String serialNumber, LocalDateTime createDate, String customerName, String customerPhone,
                        String customerCity, String customerPincode, String invoiceNumber, String purchaseReference,
                        String customerGstNumber, LocalDateTime cancelledTimestamp, LocalDateTime grnCompleteDate,
                        Boolean hygieneRating, Integer rating, String status, String remark, LocalDateTime createdTimestamp,
                        LocalDateTime disposedTimestamp, LocalDateTime nextTimestamp, LocalDateTime activationTimestamp,
                        LocalDateTime createTimestamp, String label) {
                super();
                this.code = code;
                this.name = name;
                this.city = city;
                this.state = state;
                this.region = region;
                this.itemId = itemId;
                this.brand = brand;
                this.modelName = modelName;
                this.modelNumber = model_number;
                this.color = color;
                this.quantity = quantity;
                this.dp = dp;
                this.sellingPrice = selling_price;
                this.mop = mop;
                this.serialNumber = serialNumber;
                CreateDate = createDate;
                this.customerName = customerName;
                this.customerPhone = customerPhone;
                this.customerCity = customerCity;
                this.customerPincode = customerPincode;
                this.invoiceNumber = invoiceNumber;
                this.purchaseReference = purchaseReference;
                this.customerGstNumber = customerGstNumber;
                this.cancelledTimestamp = cancelledTimestamp;
                this.grnCompleteDate = grnCompleteDate;
                this.hygieneRating = hygieneRating;
                this.rating = rating;
                this.status = status;
                this.remark = remark;
                this.createdTimestamp = createdTimestamp;
                this.disposedTimestamp = disposedTimestamp;
                this.nextTimestamp = nextTimestamp;
                this.activationTimestamp = activationTimestamp;
                this.createTimestamp = createTimestamp;
                this.label = label;
        }
        
        
        
        
        
        

}