1 package org.org.usurper.jpetstoredomain;
2
3 import java.io.Serializable;
4
5 public class Category implements Serializable {
6
7
8
9
10
11
12 private static final long serialVersionUID = 3062913779661349922L;
13 private String categoryId;
14 private String name;
15 private String description;
16
17
18
19 public String getCategoryId() {
20 return categoryId;
21 }
22
23 public void setCategoryId(String categoryId) {
24 this.categoryId = categoryId.trim();
25 }
26
27 public String getName() {
28 return name;
29 }
30
31 public void setName(String name) {
32 this.name = name;
33 }
34
35 public String getDescription() {
36 return description;
37 }
38
39 public void setDescription(String description) {
40 this.description = description;
41 }
42
43
44
45 public String toString() {
46 return getCategoryId();
47 }
48
49 }