⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 student.java

📁 学生成绩管理系统
💻 JAVA
字号:
/*
 * @(#)Student.java Sep 8, 2007
 * Copyright 2007 qrsx organization, Inc. All rights reserved
 */
package com.qrsx.course.model;

/**
 * 学生实体对象
 * Author  : 王希涛<br>
 * Company : 青软实训<br>
 * Version : 1.0<br>
 * Date    : Sep 8, 2007<br>
 * 
 * @hibernate.class table="Student" lazy="false"
 */
public class Student {

    private String id;          //主键
    private String code;        //学号
    private String name;        //姓名
    private String enrollDate;  //入学时间
    private String birthday;    //出生年月
    private String sex;         //性别
    
    private Team team;          //所属班级

    /**
     * @hibernate.many-to-one column="teamId" class="com.qrsx.course.model.Team" 
     */
    public Team getTeam() {
        return team;
    }

    /**
     * @hibernate.id
     *      column="id"
     *      generator-class="uuid.hex"
     */
    public String getId() {
        return id;
    }

    /**
     * @hibernate.property
     *      column="birthday"
     *      not-null="false"
     */
    public String getBirthday() {
        return birthday;
    }

    /**
     * @hibernate.property
     *      column="code"
     *      not-null="false"
     */
    public String getCode() {
        return code;
    }

    /**
     * @hibernate.property
     *      column="enrollDate"
     *      not-null="false"
     */
    public String getEnrollDate() {
        return enrollDate;
    }

    /**
     * @hibernate.property
     *      column="name"
     *      not-null="false"
     */
    public String getName() {
        return name;
    }

    /**
     * @hibernate.property
     *      column="sex"
     *      not-null="false"
     */
    public String getSex() {
        return sex;
    }

    /**
     * @param birthday the birthday to set
     */
    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    /**
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @param enrollDate the enrollDate to set
     */
    public void setEnrollDate(String enrollDate) {
        this.enrollDate = enrollDate;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @param sex the sex to set
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * @param team the team to set
     */
    public void setTeam(Team team) {
        this.team = team;
    }
    
    
}

⌨️ 快捷键说明

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