01: package com.tctest.domain;
02:
03: public class Gifts {
04:
05: private int id;
06:
07: private String name;
08:
09: private String category;
10:
11: public Gifts() {
12: super ();
13: }
14:
15: public int getId() {
16: return id;
17: }
18:
19: public void setId(int id) {
20: this .id = id;
21: }
22:
23: public String getName() {
24: return name;
25: }
26:
27: public void setName(String name) {
28: this .name = name;
29: }
30:
31: public String getCategory() {
32: return category;
33: }
34:
35: public void setCategory(String category) {
36: this .category = category;
37: }
38:
39: public String toString() {
40: return "gift.id: " + id + ", gift.name: " + name
41: + ", gift.category: " + category;
42: }
43: }
|