|
@@ -1,5 +1,6 @@
|
|
|
package com.keao.edu.user.entity;
|
|
|
|
|
|
+import com.keao.edu.user.enums.SongTypeEnum;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
@@ -24,7 +25,7 @@ public class ExamSong {
|
|
|
private String levelList;
|
|
|
|
|
|
@ApiModelProperty(value = "曲目类别")
|
|
|
- private String type;
|
|
|
+ private SongTypeEnum type;
|
|
|
|
|
|
@ApiModelProperty(value = "曲目文件地址")
|
|
|
private String fileUrlList;
|
|
@@ -85,11 +86,11 @@ public class ExamSong {
|
|
|
return this.levelList;
|
|
|
}
|
|
|
|
|
|
- public void setType(String type){
|
|
|
+ public void setType(SongTypeEnum type){
|
|
|
this.type = type;
|
|
|
}
|
|
|
|
|
|
- public String getType(){
|
|
|
+ public SongTypeEnum getType(){
|
|
|
return this.type;
|
|
|
}
|
|
|
|