package com.qm.entity;
/**
* 学生实体
* @author Administrator
*
*/
public class Student {
//学生id
private int id;
//学生姓名
private String name;
//学生密码
private String password;
//学生身高
private int hight;
//学生性别
private int sex;
/**
* 构造函数(不带参数)
*/
public Student() {
}
/**
* 构造函数(带参数)
* @param name
* @param password
* @param hight
* @param sex
*/
public Student(String name, String password, int hight, int sex) {
super();
this.name = name;
this.password = password;
this.hight = hight;
this.sex = sex;
}
/**
* 构造函数(带参数)
* @param id
* @param name
* @param password
* @param hight
* @param sex
*/
public Student(int id, String name, String password, int hight, int sex) {
super();
this.id = id;
this.name = name;
this.password = password;
this.hight = hight;
this.sex = sex;
}
//==============get set方法===================
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 String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public int getHight() {
return hight;
}
public void setHight(int hight) {
this.hight = hight;
}
public int getSex() {
return sex;
}
public void setSex(int sex) {
this.sex = sex;
}
}