Subversion Repositories SmartDukaan

Rev

Rev 29506 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.entity.fofo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Id;

@Deprecated // Legacy entity removed from use; JPA mapping disabled
public class PineLabs implements Serializable {

        private static final long serialVersionUID = 1L;

        @Id
        @Column(name = "id")
        private int id;
        
        @Column(name="po_id")
        private int poId;

        @Override
        public String toString() {
                return "PineLabs [id=" + id + ", poId=" + poId + "]";
        }

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }

        public int getPoId() {
                return poId;
        }

        public void setPoId(int poId) {
                this.poId = poId;
        }

        @Override
        public int hashCode() {
                final int prime = 31;
                int result = 1;
                result = prime * result + id;
                result = prime * result + poId;
                return result;
        }

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

}