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

📄 xx.java

📁 spring+hibernate+struts code
💻 JAVA
字号:
package com.relationinfo.model;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * User class
 * 
 * This class is used to generate the Struts Validator Form as well as the
 * Hibernate mapping file.
 * 
 * <p>
 * <a href="Xx.java.html"><i>www.relationinfo.com</i></a>
 * </p>
 * 
 * @author Jeff
 * 
 * @struts.form include-all="true" extends="BaseForm"
 * @hibernate.class table="xx"
 */
public class Xx extends BaseObject implements Serializable {
	private static final long serialVersionUID = 1132626162173359411L;

	protected String xxbm;

	protected String mbbm;

	protected String yhbm;

	protected String lmbm;

	protected String xxnr;

	protected String fbsj;

	/**
	 * Returns the xxbm.
	 * 
	 * @return String
	 * 
	 * @struts.validator type="required"
	 * @hibernate.id column="xxbm" length="20" generator-class="assigned"
	 */
	public String getXxbm() {
		return xxbm;
	}

	/**
	 * Returns the password.
	 * 
	 * @return String
	 * 
	 * @struts.validator type="required"
	 * @hibernate.property column="mbbm" not-null="true"
	 */
	public String getMbbm() {
		return mbbm;
	}

	/**
	 * Returns the yhbm.
	 * 
	 * @return String
	 * 
	 * @hibernate.property column="yhbm" not-null="true"
	 */
	public String getYhbm() {
		return yhbm;
	}

	/**
	 * Returns the lmbm.
	 * 
	 * @return String
	 * @hibernate.property column="lmbm" not-null="true" length="50"
	 */
	public String getLmbm() {
		return lmbm;
	}

	/**
	 * Returns the xxnr.
	 * 
	 * @return String
	 * 
	 * @hibernate.property column="xxnr"
	 */
	public String getXxnr() {
		return xxnr;
	}

	/**
	 * Returns the fbsj.
	 * 
	 * @return String
	 * 
	 * @hibernate.property column="fbsj"
	 */
	public String getFbsj() {
		return fbsj;
	}

	/**
	 * Sets the mbbm.
	 * 
	 * @param password
	 *            The password to set
	 */
	public void setMbbm(String mbbm) {
		this.mbbm = mbbm;
	}

	/**
	 * Sets the yhbm.
	 * 
	 * @param yhbm
	 *            The yhbm to set
	 */
	public void setYhbm(String yhbm) {
		this.yhbm = yhbm;
	}

	/**
	 * Sets the lmbm.
	 * 
	 * @param lmbm
	 *            The lmbm to set
	 */
	public void setLmbm(String lmbm) {
		this.lmbm = lmbm;
	}

	/**
	 * Sets the xxnr.
	 * 
	 * @param xxnr
	 *            The xxnr to set
	 */
	public void setXxnr(String xxnr) {
		this.xxnr = xxnr;
	}

	/**
	 * Sets the fbsj.
	 * 
	 * @param fbsj
	 *            The fbsj to set
	 */
	public void setFbsj(String fbsj) {
		this.fbsj = fbsj;
	}

	/**
	 * Generated using Commonclipse (http://commonclipse.sf.net)
	 */
	public boolean equals(Object object) {
		if (!(object instanceof Xx)) {
			return false;
		}

		Xx rhs = (Xx) object;

		return new EqualsBuilder().append(this.mbbm, rhs.mbbm).append(
				this.yhbm, rhs.yhbm).append(this.xxbm, rhs.xxbm).append(
				this.fbsj, rhs.fbsj).append(this.lmbm, rhs.lmbm).append(
				this.xxnr, rhs.xxnr).isEquals();
	}

	/**
	 * Generated using Commonclipse (http://commonclipse.sf.net)
	 */
	public int hashCode() {
		return new HashCodeBuilder(-2022315247, 1437659757).append(this.mbbm)
				.append(this.yhbm).append(this.xxbm).append(this.fbsj).append(
						this.lmbm).append(this.xxnr).toHashCode();
	}

	/**
	 * Generated using Commonclipse (http://commonclipse.sf.net)
	 */
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("lmbm", this.lmbm).append("lastName", this.xxnr)
				.append("xxbm", this.xxbm).append("fbsj", this.fbsj).append(
						"mbbm", this.mbbm).append("yhbm", this.yhbm).toString();
	}

	public void setXxbm(String xxbm) {
		this.xxbm = xxbm;
	}

}

⌨️ 快捷键说明

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