Subversion Repositories SmartDukaan

Rev

Rev 23365 | Rev 31376 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23365 Rev 29831
Line 30... Line 30...
30
	private int id;
30
	private int id;
31
	
31
	
32
	@Column(name = "name", unique = true)
32
	@Column(name = "name", unique = true)
33
	private String name;
33
	private String name;
34
	
34
	
-
 
35
	@Column(name = "sort_by", unique = true)
-
 
36
	private String sortBy;
-
 
37
	
35
	public int getId() {
38
	public int getId() {
36
		return id;
39
		return id;
37
	}
40
	}
38
	public void setId(int id) {
41
	public void setId(int id) {
39
		this.id = id;
42
		this.id = id;
Line 45... Line 48...
45
	
48
	
46
	public void setName(String name) {
49
	public void setName(String name) {
47
		this.name = name;
50
		this.name = name;
48
	}
51
	}
49
	
52
	
-
 
53
	
-
 
54
	
-
 
55
	
-
 
56
	public String getSortBy() {
-
 
57
		return sortBy;
-
 
58
	}
-
 
59
	public void setSortBy(String sortBy) {
-
 
60
		this.sortBy = sortBy;
-
 
61
	}
50
	@Override
62
	@Override
51
	public int hashCode() {
63
	public int hashCode() {
52
		final int prime = 31;
64
		final int prime = 31;
53
		int result = 1;
65
		int result = 1;
54
		result = prime * result + id;
66
		result = prime * result + id;