package com.rlovep.hello;
/**
*
* @ClassName: Student
* @Description: TODO
* @author peace w_peace12@163.com
* @date 27 Mar 2016 9:20:18 pm
*
*/
public class Student {
private Integer id;//编号
private String name;//姓名
private Double sal;//薪水
public Student(){}
public Student(Integer id, String name, Double sal) {
this.id = id;
this.name = name;
this.sal = sal;
}
public Integer getId() {
System.out.println("getId()");
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
System.out.println("getName()");
return name;
}
public void setName(String name) {
this.name = name;
}
public Double getSal() {
System.out.println("getSal()");
return sal;
}
public void setSal(Double sal) {
this.sal = sal;
}
}