CoursePackageListDto.java 2.6 KB

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