student实体类
package com.offcn.bean;
import java.util.Date;
public class Student {
private int id;
private String name;
private int age;
private Date birthday;
public Student(){}
public Student(int id, String name, int age, Date birthday) {
super();
this.id = id;
this.name = name;
this.age = age;
this.birthday = birthday;
}
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;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
}
studentDao接口
package com.offcn.dao;
import com.offcn.bean.Student;
public interface StudentDao