|
@@ -5,6 +5,8 @@ import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import io.swagger.models.auth.In;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
/**
|
|
|
* @Author: liweifan
|
|
|
* @Data: 2022/3/21 18:37
|
|
@@ -16,6 +18,8 @@ public class StudentHomeVo extends Student {
|
|
|
private String heardUrl;
|
|
|
@ApiModelProperty("学员昵称")
|
|
|
private String username;
|
|
|
+ @ApiModelProperty(value = "生日")
|
|
|
+ private Date birthdate;
|
|
|
@ApiModelProperty("会员剩余有效期天数")
|
|
|
private Integer membershipDays;
|
|
|
@ApiModelProperty("累计练习天数")
|
|
@@ -49,6 +53,14 @@ public class StudentHomeVo extends Student {
|
|
|
this.username = username;
|
|
|
}
|
|
|
|
|
|
+ public Date getBirthdate() {
|
|
|
+ return birthdate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBirthdate(Date birthdate) {
|
|
|
+ this.birthdate = birthdate;
|
|
|
+ }
|
|
|
+
|
|
|
public Integer getExerciseDays() {
|
|
|
return exerciseDays;
|
|
|
}
|