Bodypart.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package com.diagbot.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import java.io.Serializable;
  5. /**
  6. * <p>
  7. *
  8. * </p>
  9. *
  10. * @author Weixuan Huang
  11. * @since 2019-01-14
  12. */
  13. public class Bodypart implements Serializable {
  14. private static final long serialVersionUID = 1L;
  15. @TableId(value = "id", type = IdType.AUTO)
  16. private Integer id;
  17. /**
  18. * 二级部位
  19. */
  20. private String subBodypart;
  21. /**
  22. * 二级部位排序号
  23. */
  24. private Integer subOrder;
  25. /**
  26. * 一级部位
  27. */
  28. private String bodypart;
  29. /**
  30. * 一级部位排序号
  31. */
  32. private Integer order;
  33. public Integer getId() {
  34. return id;
  35. }
  36. public void setId(Integer id) {
  37. this.id = id;
  38. }
  39. public String getSubBodypart() {
  40. return subBodypart;
  41. }
  42. public void setSubBodypart(String subBodypart) {
  43. this.subBodypart = subBodypart;
  44. }
  45. public Integer getSubOrder() {
  46. return subOrder;
  47. }
  48. public void setSubOrder(Integer subOrder) {
  49. this.subOrder = subOrder;
  50. }
  51. public String getBodypart() {
  52. return bodypart;
  53. }
  54. public void setBodypart(String bodypart) {
  55. this.bodypart = bodypart;
  56. }
  57. public Integer getOrder() {
  58. return order;
  59. }
  60. public void setOrder(Integer order) {
  61. this.order = order;
  62. }
  63. @Override
  64. public String toString() {
  65. return "Bodypart{" +
  66. "id=" + id +
  67. ", subBodypart=" + subBodypart +
  68. ", subOrder=" + subOrder +
  69. ", bodypart=" + bodypart +
  70. ", order=" + order +
  71. "}";
  72. }
  73. }