Subversion Repositories SmartDukaan

Rev

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

package com.spice.profitmandi.dao.model;

public class AllPurchaseInventoryModel {

        private long amount;

        public long getAmount() {
                return amount;
        }

        public void setAmount(long amount) {
                this.amount = amount;
        }

        public AllPurchaseInventoryModel(long amount) {
                super();
                this.amount = amount;
        }
        
        

        @Override
        public String toString() {
                return "AllPurchaseInventoryModel [amount=" + amount + "]";
        }

        @Override
        public int hashCode() {
                final int prime = 31;
                int result = 1;
                result = prime * result + (int) (amount ^ (amount >>> 32));
                return result;
        }

        @Override
        public boolean equals(Object obj) {
                if (this == obj)
                        return true;
                if (obj == null)
                        return false;
                if (getClass() != obj.getClass())
                        return false;
                AllPurchaseInventoryModel other = (AllPurchaseInventoryModel) obj;
                if (amount != other.amount)
                        return false;
                return true;
        }
        
        
        
}