contactus.java~1~

来自「hibernate+spring的相片上传项目」· JAVA~1~ 代码 · 共 133 行

JAVA~1~
133
字号
package org.lenovoAC.pojo;

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

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

    /** identifier field */
    private String id;

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

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

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

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

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

    /** nullable persistent field */
    private Date time;

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

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

    /** full constructor */
    public ContactUs(String companyName, String address, String contactPerson, String phone, String type, Date time, String EMail, String mobilePhone) {
        this.companyName = companyName;
        this.address = address;
        this.contactPerson = contactPerson;
        this.phone = phone;
        this.type = type;
        this.time = time;
        this.EMail = EMail;
        this.mobilePhone = mobilePhone;
    }

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

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

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

    public String getCompanyName() {
        return this.companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

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

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

    public String getContactPerson() {
        return this.contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

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

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

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

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

    public Date getTime() {
        return this.time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getEMail() {
        return this.EMail;
    }

    public void setEMail(String EMail) {
        this.EMail = EMail;
    }

    public String getMobilePhone() {
        return this.mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

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

}

⌨️ 快捷键说明

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