zouxuan 4 năm trước cách đây
mục cha
commit
98cd74ac0a

+ 9 - 8
mec-biz/src/main/java/com/ym/mec/biz/dal/entity/SysMusicScore.java

@@ -1,5 +1,6 @@
 package com.ym.mec.biz.dal.entity;
 
+import com.ym.mec.biz.dal.enums.ExamSongTypeEnum;
 import org.apache.commons.lang3.builder.ToStringBuilder;
 
 /**
@@ -17,7 +18,7 @@ public class SysMusicScore {
 	private String name;
 	
 	/** 类型PERSON 个人,COMMON公用 */
-	private String type;
+	private ExamSongTypeEnum type;
 	
 	/** 声部列表 */
 	private String subjectIds;
@@ -74,15 +75,15 @@ public class SysMusicScore {
 	public String getName(){
 		return this.name;
 	}
-			
-	public void setType(String type){
-		this.type = type;
+
+	public ExamSongTypeEnum getType() {
+		return type;
 	}
-	
-	public String getType(){
-		return this.type;
+
+	public void setType(ExamSongTypeEnum type) {
+		this.type = type;
 	}
-			
+
 	public void setSubjectIds(String subjectIds){
 		this.subjectIds = subjectIds;
 	}