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

📄 companycontactaddress.java

📁 Struts2 + Spring JPA Hibernate demo.
💻 JAVA
字号:
package com.vegeta.model.company.contact;// default packageimport java.util.Date;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.Id;import javax.persistence.Table;import javax.persistence.Temporal;import javax.persistence.TemporalType;/** * CompanyContactAddress entity. @author MyEclipse Persistence Tools */@Entity@Table(name = "company_contact_address", schema = "public")public class CompanyContactAddress implements java.io.Serializable {	// Fields	private Integer addressid;	private Integer contactid;	private Integer companyaddress;	private String addresstype;	private String street;	private String zip;	private String location;	private String country;	private String pbox;	private String createdfrom;	private Date createddate;	private String changedfrom;	private Date changeddate;	// Constructors	/** default constructor */	public CompanyContactAddress() {	}	/** minimal constructor */	public CompanyContactAddress(Integer addressid) {		this.addressid = addressid;	}	/** full constructor */	public CompanyContactAddress(Integer addressid, Integer contactid, Integer companyaddress, String addresstype, String street, String zip, String location, String country, String pbox,			String createdfrom, Date createddate, String changedfrom, Date changeddate) {		this.addressid = addressid;		this.contactid = contactid;		this.companyaddress = companyaddress;		this.addresstype = addresstype;		this.street = street;		this.zip = zip;		this.location = location;		this.country = country;		this.pbox = pbox;		this.createdfrom = createdfrom;		this.createddate = createddate;		this.changedfrom = changedfrom;		this.changeddate = changeddate;	}	// Property accessors	@Id	@Column(name = "addressid", unique = true, nullable = false)	public Integer getAddressid() {		return this.addressid;	}	public void setAddressid(Integer addressid) {		this.addressid = addressid;	}	@Column(name = "contactid")	public Integer getContactid() {		return this.contactid;	}	public void setContactid(Integer contactid) {		this.contactid = contactid;	}	@Column(name = "companyaddress")	public Integer getCompanyaddress() {		return this.companyaddress;	}	public void setCompanyaddress(Integer companyaddress) {		this.companyaddress = companyaddress;	}	@Column(name = "addresstype", length = 150)	public String getAddresstype() {		return this.addresstype;	}	public void setAddresstype(String addresstype) {		this.addresstype = addresstype;	}	@Column(name = "street", length = 80)	public String getStreet() {		return this.street;	}	public void setStreet(String street) {		this.street = street;	}	@Column(name = "zip", length = 20)	public String getZip() {		return this.zip;	}	public void setZip(String zip) {		this.zip = zip;	}	@Column(name = "location", length = 150)	public String getLocation() {		return this.location;	}	public void setLocation(String location) {		this.location = location;	}	@Column(name = "country", length = 150)	public String getCountry() {		return this.country;	}	public void setCountry(String country) {		this.country = country;	}	@Column(name = "pbox", length = 150)	public String getPbox() {		return this.pbox;	}	public void setPbox(String pbox) {		this.pbox = pbox;	}	@Column(name = "createdfrom", length = 150)	public String getCreatedfrom() {		return this.createdfrom;	}	public void setCreatedfrom(String createdfrom) {		this.createdfrom = createdfrom;	}	@Temporal(TemporalType.DATE)	@Column(name = "createddate", length = 13)	public Date getCreateddate() {		return this.createddate;	}	public void setCreateddate(Date createddate) {		this.createddate = createddate;	}	@Column(name = "changedfrom", length = 150)	public String getChangedfrom() {		return this.changedfrom;	}	public void setChangedfrom(String changedfrom) {		this.changedfrom = changedfrom;	}	@Temporal(TemporalType.DATE)	@Column(name = "changeddate", length = 13)	public Date getChangeddate() {		return this.changeddate;	}	public void setChangeddate(Date changeddate) {		this.changeddate = changeddate;	}}

⌨️ 快捷键说明

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