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

📄 206e5815b90d001c1427d7c19e224211

📁 一个购房管理系统,JSF+Hibernate+Mssql2
💻
字号:
package com.housesale.entity;

import java.io.Serializable;import java.util.Date;import java.util.Set;import org.apache.commons.lang.builder.ToStringBuilder;

/** @author Hibernate CodeGenerator */
public class Customer implements Serializable {

    /** identifier field */
    private Integer customerId;

    /** nullable persistent field */
    private String customerName;

    /** nullable persistent field */
    private Short password;

    /** nullable persistent field */
    private String address;

    /** nullable persistent field */
    private String tel1;

    /** nullable persistent field */
    private String tel2;

    /** nullable persistent field */
    private String email;

    /** persistent field */
    private Date registerTime;

    /** nullable persistent field */
    private String bz;

    /** persistent field */
    private Set housesales;

    /** persistent field */
    private Set housechecks;

    /** full constructor */
    public Customer(Integer customerId, String customerName, Short password, String address, String tel1, String tel2, String email, Date registerTime, String bz, Set housesales, Set housechecks) {
        this.customerId = customerId;
        this.customerName = customerName;
        this.password = password;
        this.address = address;
        this.tel1 = tel1;
        this.tel2 = tel2;
        this.email = email;
        this.registerTime = registerTime;
        this.bz = bz;
        this.housesales = housesales;
        this.housechecks = housechecks;
    }

    /** default constructor */
    public Customer() {
    }

    /** minimal constructor */
    public Customer(Integer customerId, Date registerTime, Set housesales, Set housechecks) {
        this.customerId = customerId;
        this.registerTime = registerTime;
        this.housesales = housesales;
        this.housechecks = housechecks;
    }

    /**      * 		       auto_increment     * 		         */
    public Integer getCustomerId() {
        return this.customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return this.customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Short getPassword() {
        return this.password;
    }

    public void setPassword(Short password) {
        this.password = password;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel1() {
        return this.tel1;
    }

    public void setTel1(String tel1) {
        this.tel1 = tel1;
    }

    public String getTel2() {
        return this.tel2;
    }

    public void setTel2(String tel2) {
        this.tel2 = tel2;
    }

    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getRegisterTime() {
        return this.registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getBz() {
        return this.bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public Set getHousesales() {
        return this.housesales;
    }

    public void setHousesales(Set housesales) {
        this.housesales = housesales;
    }

    public Set getHousechecks() {
        return this.housechecks;
    }

    public void setHousechecks(Set housechecks) {
        this.housechecks = housechecks;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("customerId", getCustomerId())
            .toString();
    }

}

⌨️ 快捷键说明

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