|
@@ -4,6 +4,8 @@ import com.yonge.cooleshow.common.entity.BaseEntity;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
+
|
|
|
|
|
|
* @Author: cy
|
|
|
* @Date: 2022/4/11
|
|
@@ -26,7 +28,7 @@ public class LessonGroupVo extends BaseEntity {
|
|
|
private String lessonDesc;
|
|
|
|
|
|
@ApiModelProperty(value = "课程价格")
|
|
|
- private Integer lessonPrice;
|
|
|
+ private BigDecimal lessonPrice;
|
|
|
|
|
|
@ApiModelProperty(value = "课程封面")
|
|
|
private String lessonCoverUrl;
|
|
@@ -46,22 +48,6 @@ public class LessonGroupVo extends BaseEntity {
|
|
|
@ApiModelProperty("购买人数")
|
|
|
private Integer countStudent;
|
|
|
|
|
|
- public String getUserName() {
|
|
|
- return userName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setUserName(String userName) {
|
|
|
- this.userName = userName;
|
|
|
- }
|
|
|
-
|
|
|
- public String getAvatar() {
|
|
|
- return avatar;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAvatar(String avatar) {
|
|
|
- this.avatar = avatar;
|
|
|
- }
|
|
|
-
|
|
|
public Long getId() {
|
|
|
return id;
|
|
|
}
|
|
@@ -102,11 +88,11 @@ public class LessonGroupVo extends BaseEntity {
|
|
|
this.lessonDesc = lessonDesc;
|
|
|
}
|
|
|
|
|
|
- public Integer getLessonPrice() {
|
|
|
+ public BigDecimal getLessonPrice() {
|
|
|
return lessonPrice;
|
|
|
}
|
|
|
|
|
|
- public void setLessonPrice(Integer lessonPrice) {
|
|
|
+ public void setLessonPrice(BigDecimal lessonPrice) {
|
|
|
this.lessonPrice = lessonPrice;
|
|
|
}
|
|
|
|
|
@@ -134,6 +120,22 @@ public class LessonGroupVo extends BaseEntity {
|
|
|
this.teacherId = teacherId;
|
|
|
}
|
|
|
|
|
|
+ public String getUserName() {
|
|
|
+ return userName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUserName(String userName) {
|
|
|
+ this.userName = userName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAvatar() {
|
|
|
+ return avatar;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAvatar(String avatar) {
|
|
|
+ this.avatar = avatar;
|
|
|
+ }
|
|
|
+
|
|
|
public Integer getCountStudent() {
|
|
|
return countStudent;
|
|
|
}
|