Selaa lähdekoodia

添加无XML注入SQL测试类

Caratacus 8 vuotta sitten
vanhempi
commit
b381812560

+ 16 - 0
mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/mysql/entity/Test.java

@@ -42,4 +42,20 @@ public class Test implements Serializable {
 	private Long id;
 	private Long id;
 
 
 	private String type;
 	private String type;
+
+	public Long getId() {
+		return id;
+	}
+
+	public void setId(Long id) {
+		this.id = id;
+	}
+
+	public String getType() {
+		return type;
+	}
+
+	public void setType(String type) {
+		this.type = type;
+	}
 }
 }