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

📄 basestudent.java

📁 Extjs2增删改查
💻 JAVA
字号:
package com.tcg.demo.bean.base;

import java.io.Serializable;


/**
 * This is an object that contains data related to the Student table.
 * Do not modify this class because it will be overwritten if the configuration file
 * related to this class is modified.
 * SyncDao : false
 * SyncJsp : true
 * SyncTemplatepatterns : first\w*
 * SyncBoolean : get
 *
 * @hibernate.class
 *  table="Student"
 */

public abstract class BaseStudent  implements Serializable {

	public static String REF = "Student";
	public static String PROP_NAME = "name";
	public static String PROP_SCHOOLTIME = "schooltime";
	public static String PROP_ID = "id";
	public static String PROP_MATHER = "mather";
	public static String PROP_FATHER = "father";
	public static String PROP_SEX = "sex";


	// constructors
	public BaseStudent () {
		initialize();
	}

	/**
	 * Constructor for required fields
	 */
	public BaseStudent (
		java.lang.Long id,
		java.lang.String name) {

		this.setId(id);
		this.setName(name);
		initialize();
	}

	protected void initialize () {}



	// fields
	private java.lang.Long id;

	private java.lang.String name;

	private java.lang.String sex;

	private java.sql.Date schooltime;

	private java.lang.String father;

	private java.lang.String mather;







	/**
	 * Return the value associated with the column: id
	 */

	public java.lang.Long getId () {
		return id;
	}

	/**
	 * Set the value related to the column: id
	 * @param id the id value
	 */
	public void setId (java.lang.Long id) {
		this.id = id;
	}


	/**
	 * Return the value associated with the column: name
	 */

	public java.lang.String getName () {
		return name;
	}

	/**
	 * Set the value related to the column: name
	 * @param name the name value
	 */
	public void setName (java.lang.String name) {
		this.name = name;
	}


	/**
	 * Return the value associated with the column: sex
	 */

	public java.lang.String getSex () {
		return sex;
	}

	/**
	 * Set the value related to the column: sex
	 * @param sex the sex value
	 */
	public void setSex (java.lang.String sex) {
		this.sex = sex;
	}


	/**
	 * Return the value associated with the column: schooltime
	 */

	public java.sql.Date getSchooltime () {
		return schooltime;
	}

	/**
	 * Set the value related to the column: schooltime
	 * @param schooltime the schooltime value
	 */
	public void setSchooltime (java.sql.Date schooltime) {
		this.schooltime = schooltime;
	}


	/**
	 * Return the value associated with the column: father
	 */

	public java.lang.String getFather () {
		return father;
	}

	/**
	 * Set the value related to the column: father
	 * @param father the father value
	 */
	public void setFather (java.lang.String father) {
		this.father = father;
	}


	/**
	 * Return the value associated with the column: mather
	 */

	public java.lang.String getMather () {
		return mather;
	}

	/**
	 * Set the value related to the column: mather
	 * @param mather the mather value
	 */
	public void setMather (java.lang.String mather) {
		this.mather = mather;
	}






	public String toString () {
		org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(this);
		builder.append(id);
		builder.append(name);
		builder.append(sex);
		builder.append(schooltime);
		builder.append(father);
		builder.append(mather);
		return builder.toString();
	}


}

⌨️ 快捷键说明

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