1 7 package org.jfox.petstore.entity; 8 9 import java.io.Serializable ; 10 import javax.persistence.Column; 11 import javax.persistence.Entity; 12 13 @Entity 14 public class Category implements Serializable { 15 16 @Column(name = "catid") 17 String categoryId; 18 19 @Column(name = "name") 20 String name; 21 22 @Column(name = "descn") 23 String description; 24 25 public String getCategoryId() { 26 return categoryId; 27 } 28 29 public void setCategoryId(String categoryId) { 30 this.categoryId = categoryId; 31 } 32 33 public String getName() { 34 return name; 35 } 36 37 public void setName(String name) { 38 this.name = name; 39 } 40 41 public String getDescription() { 42 return description; 43 } 44 45 public void setDescription(String description) { 46 this.description = description; 47 } 48 } 49 | Popular Tags |