Book.java 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. package com.qmth.qrzk.repository.exp;
  2. import java.util.Date;
  3. public class Book {
  4. private String guid;
  5. private String name; //教材名称
  6. private String code; //书号
  7. private String editor; //作者
  8. private String press; //出版社
  9. private String version; //教材版次
  10. private Double price; //定价(元)
  11. private Integer chapterSize; //章总数
  12. private Date enableDate; //启用时间
  13. public String getGuid() {
  14. return guid;
  15. }
  16. public void setGuid(String guid) {
  17. this.guid = guid;
  18. }
  19. public String getName() {
  20. return name;
  21. }
  22. public void setName(String name) {
  23. this.name = name;
  24. }
  25. public String getCode() {
  26. return code;
  27. }
  28. public void setCode(String code) {
  29. this.code = code;
  30. }
  31. public String getEditor() {
  32. return editor;
  33. }
  34. public void setEditor(String editor) {
  35. this.editor = editor;
  36. }
  37. public String getPress() {
  38. return press;
  39. }
  40. public void setPress(String press) {
  41. this.press = press;
  42. }
  43. public String getVersion() {
  44. return version;
  45. }
  46. public void setVersion(String version) {
  47. this.version = version;
  48. }
  49. public Double getPrice() {
  50. return price;
  51. }
  52. public void setPrice(Double price) {
  53. this.price = price;
  54. }
  55. public Integer getChapterSize() {
  56. return chapterSize;
  57. }
  58. public void setChapterSize(Integer chapterSize) {
  59. this.chapterSize = chapterSize;
  60. }
  61. public Date getEnableDate() {
  62. return enableDate;
  63. }
  64. public void setEnableDate(Date enableDate) {
  65. this.enableDate = enableDate;
  66. }
  67. public Book() {
  68. //do nothing
  69. }
  70. public Book(String guid, String name, String code, String editor,
  71. String press, String version, Double price, Integer chapterSize,
  72. Date enableDate) {
  73. this.guid = guid;
  74. this.name = name;
  75. this.code = code;
  76. this.editor = editor;
  77. this.press = press;
  78. this.version = version;
  79. this.price = price;
  80. this.chapterSize = chapterSize;
  81. this.enableDate = enableDate;
  82. }
  83. }