Test.java 944 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package com.goafanti.common.bo;
  2. /**
  3. * 菜品对象
  4. *
  5. * @author admin
  6. *
  7. */
  8. public class Test {
  9. // 菜品名称
  10. private String name;
  11. // 价格
  12. private double money;
  13. // 数量
  14. private Integer num;
  15. //菜品分类
  16. private String fenlei;
  17. public Test() {
  18. super();
  19. }
  20. public Test(String name, double money, Integer num) {
  21. super();
  22. this.name = name;
  23. this.money = money;
  24. this.num = num;
  25. }
  26. public String getName() {
  27. return name;
  28. }
  29. public void setName(String name) {
  30. this.name = name;
  31. }
  32. public double getMoney() {
  33. return money;
  34. }
  35. public void setMoney(double money) {
  36. this.money = money;
  37. }
  38. public Integer getNum() {
  39. return num;
  40. }
  41. public void setNum(Integer num) {
  42. this.num = num;
  43. }
  44. public String getFenlei() {
  45. return fenlei;
  46. }
  47. public void setFenlei(String fenlei) {
  48. this.fenlei = fenlei;
  49. }
  50. }