Przeglądaj źródła

蓝图结构难度

weiwenhai 7 lat temu
rodzic
commit
5ae47d6bf5

+ 52 - 0
cqb-comm-utils/src/main/java/com/qmth/cqb/utils/enums/PropertyDifficulty.java

@@ -0,0 +1,52 @@
+package com.qmth.cqb.utils.enums;
+
+public enum PropertyDifficulty {
+
+	/*
+	 * 简单
+	 */
+	SIMPLE(1L,"简单"),
+	
+	/**
+	 * 中等
+	 */
+	MEDIUM(2L,"中等"),
+	
+	/**
+	 * 困难
+	 */
+	DIFFICULTY(3L,"困难");
+	
+	private Long id;
+	
+	private String name;
+	
+	private PropertyDifficulty(){
+		
+	}
+	
+	PropertyDifficulty(Long id, String name){
+		this.id = id;
+		this.name = name;
+	}
+
+	public Long getId() {
+		return id;
+	}
+
+	public void setId(Long id) {
+		this.id = id;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+	
+	public String toString(){
+        return getName();
+    }
+}