Subversion Repositories SmartDukaan

Rev

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

Rev 24417 Rev 27124
Line 6... Line 6...
6
import javax.persistence.Entity;
6
import javax.persistence.Entity;
7
import javax.persistence.GeneratedValue;
7
import javax.persistence.GeneratedValue;
8
import javax.persistence.GenerationType;
8
import javax.persistence.GenerationType;
9
import javax.persistence.Id;
9
import javax.persistence.Id;
10
import javax.persistence.Table;
10
import javax.persistence.Table;
-
 
11
import javax.persistence.Transient;
11
 
12
 
12
/**
13
/**
13
 * This class basically contains api details
14
 * This class basically contains api details
14
 * 
15
 * 
15
 * @author amit
16
 * @author amit
Line 64... Line 65...
64
				return false;
65
				return false;
65
		} else if (!name.equals(other.name))
66
		} else if (!name.equals(other.name))
66
			return false;
67
			return false;
67
		return true;
68
		return true;
68
	}
69
	}
-
 
70
	
-
 
71
	@Transient TicketCategory ticketCategory;
69
 
72
 
70
	public int getId() {
73
	public int getCategoryId() {
71
		return id;
74
		return categoryId;
72
	}
75
	}
73
 
76
 
74
	public void setId(int id) {
77
	public void setCategoryId(int categoryId) {
75
		this.id = id;
78
		this.categoryId = categoryId;
76
	}
79
	}
77
 
80
 
78
	public int getcategoryId() {
81
	public TicketCategory getTicketCategory() {
79
		return categoryId;
82
		return ticketCategory;
80
	}
83
	}
81
 
84
 
82
	public void setcategoryId(int categoryId) {
85
	public void setTicketCategory(TicketCategory ticketCategory) {
83
		this.categoryId = categoryId;
86
		this.ticketCategory = ticketCategory;
-
 
87
	}
-
 
88
 
-
 
89
	public int getId() {
-
 
90
		return id;
-
 
91
	}
-
 
92
 
-
 
93
	public void setId(int id) {
-
 
94
		this.id = id;
84
	}
95
	}
85
 
96
 
86
	public String getName() {
97
	public String getName() {
87
		return name;
98
		return name;
88
	}
99
	}