Subversion Repositories SmartDukaan

Rev

Rev 29506 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
29506 amit.gupta 1
package com.spice.profitmandi.dao.entity.fofo;
2
 
3
import java.io.Serializable;
4
import javax.persistence.Column;
5
import javax.persistence.Id;
6
 
35394 amit 7
@Deprecated // Legacy entity removed from use; JPA mapping disabled
29506 amit.gupta 8
public class PineLabs implements Serializable {
9
 
10
	private static final long serialVersionUID = 1L;
11
 
12
	@Id
13
	@Column(name = "id")
14
	private int id;
15
 
16
	@Column(name="po_id")
17
	private int poId;
18
 
19
	@Override
20
	public String toString() {
21
		return "PineLabs [id=" + id + ", poId=" + poId + "]";
22
	}
23
 
24
	public int getId() {
25
		return id;
26
	}
27
 
28
	public void setId(int id) {
29
		this.id = id;
30
	}
31
 
32
	public int getPoId() {
33
		return poId;
34
	}
35
 
36
	public void setPoId(int poId) {
37
		this.poId = poId;
38
	}
39
 
40
	@Override
41
	public int hashCode() {
42
		final int prime = 31;
43
		int result = 1;
44
		result = prime * result + id;
45
		result = prime * result + poId;
46
		return result;
47
	}
48
 
49
	@Override
50
	public boolean equals(Object obj) {
51
		if (this == obj)
52
			return true;
53
		if (obj == null)
54
			return false;
55
		if (getClass() != obj.getClass())
56
			return false;
57
		PineLabs other = (PineLabs) obj;
58
		if (id != other.id)
59
			return false;
60
		if (poId != other.poId)
61
			return false;
62
		return true;
63
	}
64
 
65
 
66
 
67
 
68
 
69
 
70
}
71