package com.st.entity;
public class Student {
private int stuid;
private String stuname;
private String stusex;
public Student() {
super();
// TODO Auto-generated constructor stub
}
public Student(int stuid, String stuname, String stusex) {
super();
this.stuid = stuid;
this.stuname = stuname;
this.stusex = stusex;
}
public int getStuid() {
return stuid;
}
public void setStuid(int stuid) {
this.stuid = stuid;
}
public String getStuname() {
return stuname;
}
public void setStuname(String stuname) {
this.stuname = stuname;
}
public String getStusex() {
return stusex;
}
public void setStusex(String stusex) {
this.stusex = stusex;
}
@Override
public String toString() {
return stuid + "\t" + stuname + "\t" + stusex;
}
}
标签:stuname,stusex,String,Student,stuid,public From: https://www.cnblogs.com/Breeze-lele/p/17180559.html