@DomainModel
public class User {
private int id;
private String name;
private int age;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
}
Maven 编译时错误:
Error:(6,8) java: 已在类 com.github.braisdom.objsql.benchmark.User中定义了变量 id
Java 代码:
Maven 编译时错误: