冲刺第三天
昨天任务是完成多条件的查询
今天的任务依旧是完成多条件的查询
困难时dao层编写、
package com.example.shiyan.entity;
public class Student {
private String id;
private String password;
private String name;
private String age;
public Student(){
}
public Student(String id, String password, String name, String age){
this.id=id;
this.age=age;
this.name=name;
this.password=password;
}
public Student(String id) {
this.id=id;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAge() {
return age;
}
public void setAge(String age) {
this.age = age;
}
}
public class Student {
private String id;
private String password;
private String name;
private String age;
public Student(){
}
public Student(String id, String password, String name, String age){
this.id=id;
this.age=age;
this.name=name;
this.password=password;
}
public Student(String id) {
this.id=id;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAge() {
return age;
}
public void setAge(String age) {
this.age = age;
}
}