companyopporunitydocs.java

来自「Struts2 + Spring JPA Hibernate demo.」· Java 代码 · 共 107 行

JAVA
107
字号
package com.vegeta.model.company.opportunity;import 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;/** * CompanyOpporunityDocs entity. @author MyEclipse Persistence Tools */@Entity@Table(name = "company_opporunity_docs", schema = "public")public class CompanyOpporunityDocs implements java.io.Serializable {	// Fields	private Integer docid;	private Integer opportunityid;	private String name;	private String files;	private Date createddate;	private String createdfrom;	// Constructors	/** default constructor */	public CompanyOpporunityDocs() {	}	/** minimal constructor */	public CompanyOpporunityDocs(Integer docid) {		this.docid = docid;	}	/** full constructor */	public CompanyOpporunityDocs(Integer docid, Integer opportunityid,			String name, String files, Date createddate, String createdfrom) {		this.docid = docid;		this.opportunityid = opportunityid;		this.name = name;		this.files = files;		this.createddate = createddate;		this.createdfrom = createdfrom;	}	// Property accessors	@Id	@Column(name = "docid", unique = true, nullable = false)	public Integer getDocid() {		return this.docid;	}	public void setDocid(Integer docid) {		this.docid = docid;	}	@Column(name = "opportunityid")	public Integer getOpportunityid() {		return this.opportunityid;	}	public void setOpportunityid(Integer opportunityid) {		this.opportunityid = opportunityid;	}	@Column(name = "name")	public String getName() {		return this.name;	}	public void setName(String name) {		this.name = name;	}	@Column(name = "files")	public String getFiles() {		return this.files;	}	public void setFiles(String files) {		this.files = files;	}	@Temporal(TemporalType.DATE)	@Column(name = "createddate", length = 13)	public Date getCreateddate() {		return this.createddate;	}	public void setCreateddate(Date createddate) {		this.createddate = createddate;	}	@Column(name = "createdfrom", length = 150)	public String getCreatedfrom() {		return this.createdfrom;	}	public void setCreatedfrom(String createdfrom) {		this.createdfrom = createdfrom;	}}

⌨️ 快捷键说明

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