student.java
来自「通过此代码可实现 学生信息的增删改查」· Java 代码 · 共 95 行
JAVA
95 行
package com.jinshi.struts.bean;
/**
* Student entity.
*
* @author MyEclipse Persistence Tools
*/
public class Student implements java.io.Serializable {
private static final long serialVersionUID = 1L;
private Integer studId;
private String studName;
private String studPwd;
private String studSex;
private Integer studAge;
private String studCol;
private String studClass;
// Constructors
/** default constructor */
public Student() {
}
/** full constructor */
public Student(String studName, String studPwd, String studSex,
Integer studAge, String studCol, String studClass) {
this.studName = studName;
this.studPwd = studPwd;
this.studSex = studSex;
this.studAge = studAge;
this.studCol = studCol;
this.studClass = studClass;
}
// Property accessors
public Integer getStudId() {
return this.studId;
}
public void setStudId(Integer studId) {
this.studId = studId;
}
public String getStudName() {
return this.studName;
}
public void setStudName(String studName) {
this.studName = studName;
}
public String getStudPwd() {
return this.studPwd;
}
public void setStudPwd(String studPwd) {
this.studPwd = studPwd;
}
public String getStudSex() {
return this.studSex;
}
public void setStudSex(String studSex) {
this.studSex = studSex;
}
public Integer getStudAge() {
return this.studAge;
}
public void setStudAge(Integer studAge) {
this.studAge = studAge;
}
public String getStudCol() {
return this.studCol;
}
public void setStudCol(String studCol) {
this.studCol = studCol;
}
public String getStudClass() {
return this.studClass;
}
public void setStudClass(String studClass) {
this.studClass = studClass;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?