1
0

CoursePackageDetailDto.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. package com.qxgmat.dto.response;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.nuliji.tools.annotation.Dto;
  4. import com.qxgmat.data.dao.entity.CoursePackage;
  5. import com.qxgmat.dto.extend.CommentExtendDto;
  6. import com.qxgmat.dto.extend.CourseExtendDto;
  7. import com.qxgmat.dto.extend.FaqExtendDto;
  8. import java.math.BigDecimal;
  9. import java.util.Collection;
  10. import java.util.Date;
  11. @Dto(entity = CoursePackage.class)
  12. public class CoursePackageDetailDto {
  13. private Integer id;
  14. private Integer structId;
  15. private String title;
  16. private BigDecimal price;
  17. private Integer[] courseIds;
  18. private Collection<CourseExtendDto> courses;
  19. private Collection<CommentExtendDto> comments;
  20. private Collection<FaqExtendDto> faqs;
  21. private JSONObject gift;
  22. private Integer saleNumber;
  23. private Date createTime;
  24. private Date updateTime;
  25. private Boolean add;
  26. public Integer getId() {
  27. return id;
  28. }
  29. public void setId(Integer id) {
  30. this.id = id;
  31. }
  32. public Integer getStructId() {
  33. return structId;
  34. }
  35. public void setStructId(Integer structId) {
  36. this.structId = structId;
  37. }
  38. public String getTitle() {
  39. return title;
  40. }
  41. public void setTitle(String title) {
  42. this.title = title;
  43. }
  44. public BigDecimal getPrice() {
  45. return price;
  46. }
  47. public void setPrice(BigDecimal price) {
  48. this.price = price;
  49. }
  50. public Integer[] getCourseIds() {
  51. return courseIds;
  52. }
  53. public void setCourseIds(Integer[] courseIds) {
  54. this.courseIds = courseIds;
  55. }
  56. public JSONObject getGift() {
  57. return gift;
  58. }
  59. public void setGift(JSONObject gift) {
  60. this.gift = gift;
  61. }
  62. public Integer getSaleNumber() {
  63. return saleNumber;
  64. }
  65. public void setSaleNumber(Integer saleNumber) {
  66. this.saleNumber = saleNumber;
  67. }
  68. public Date getCreateTime() {
  69. return createTime;
  70. }
  71. public void setCreateTime(Date createTime) {
  72. this.createTime = createTime;
  73. }
  74. public Date getUpdateTime() {
  75. return updateTime;
  76. }
  77. public void setUpdateTime(Date updateTime) {
  78. this.updateTime = updateTime;
  79. }
  80. public Collection<CourseExtendDto> getCourses() {
  81. return courses;
  82. }
  83. public void setCourses(Collection<CourseExtendDto> courses) {
  84. this.courses = courses;
  85. }
  86. public Collection<CommentExtendDto> getComments() {
  87. return comments;
  88. }
  89. public void setComments(Collection<CommentExtendDto> comments) {
  90. this.comments = comments;
  91. }
  92. public Collection<FaqExtendDto> getFaqs() {
  93. return faqs;
  94. }
  95. public void setFaqs(Collection<FaqExtendDto> faqs) {
  96. this.faqs = faqs;
  97. }
  98. public Boolean getAdd() {
  99. return add;
  100. }
  101. public void setAdd(Boolean add) {
  102. this.add = add;
  103. }
  104. }