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

📄 client.java

📁 J2EE电子商务系统开发从入门到精通---基于Struts和Hibernate技术实现
💻 JAVA
字号:
package model.store.hibernate;

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


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

    /** identifier field */
    private String id;

    /** persistent field */
    private String name;

    /** persistent field */
    private String type;

    /** persistent field */
    private String address;

    /** persistent field */
    private String zip;

    /** persistent field */
    private String phone;

    /** persistent field */
    private String fax;

    /** persistent field */
    private String remarks;

    /** persistent field */
    private Set storeouts;

    /** persistent field */
    private Set storeins;

    /** full constructor */
    public Client(String id, String name, String type, String address, String zip, String phone, String fax, String remarks, Set storeouts, Set storeins) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.address = address;
        this.zip = zip;
        this.phone = phone;
        this.fax = fax;
        this.remarks = remarks;
        this.storeouts = storeouts;
        this.storeins = storeins;
    }

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

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

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

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

    public String getZip() {
        return this.zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFax() {
        return this.fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getRemarks() {
        return this.remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Set getStoreouts() {
        return this.storeouts;
    }

    public void setStoreouts(Set storeouts) {
        this.storeouts = storeouts;
    }

    public Set getStoreins() {
        return this.storeins;
    }

    public void setStoreins(Set storeins) {
        this.storeins = storeins;
    }

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

}

⌨️ 快捷键说明

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