student.java

来自「ajax工程的小例子」· Java 代码 · 共 120 行

JAVA
120
字号
package com.tarena.persistence;

import java.util.*;




/**
 * Student generated by hbm2java
 */
public class Student  implements java.io.Serializable {

    // Fields    

     private Long studentId;
     private String name;
     private Date birthday;
     private Character sex;
     private Date regdate;
     private Character deleteflag;
     private Character historyflag;


    // Constructors

    /** default constructor */
    public Student() {
    }
    
    /** constructor with id */
    public Student(Long studentId) {
        this.studentId = studentId;
    }
   
    
    

    // Property accessors

    /**
     * 
     */
    public Long getStudentId() {
        return this.studentId;
    }
    
    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    /**
     * 
     */
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 
     */
    public Date getBirthday() {
        return this.birthday;
    }
    
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 
     */
    public Character getSex() {
        return this.sex;
    }
    
    public void setSex(Character sex) {
        this.sex = sex;
    }

    /**
     * 
     */
    public Date getRegdate() {
        return this.regdate;
    }
    
    public void setRegdate(Date regdate) {
        this.regdate = regdate;
    }

    /**
     * 
     */
    public Character getDeleteflag() {
        return this.deleteflag;
    }
    
    public void setDeleteflag(Character deleteflag) {
        this.deleteflag = deleteflag;
    }

    /**
     * 
     */
    public Character getHistoryflag() {
        return this.historyflag;
    }
    
    public void setHistoryflag(Character historyflag) {
        this.historyflag = historyflag;
    }




}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?