companyservicepsol.java

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

JAVA
188
字号
package com.vegeta.model.company.service;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;/** * CompanyServicePSol entity. @author MyEclipse Persistence Tools */@Entity@Table(name = "company_service_p_sol", schema = "public")public class CompanyServicePSol implements java.io.Serializable {	// Fields	private Integer prosolid;	private Integer serviceid;	private String solutionnr;	private String name;	private String classification;	private String category;	private String type;	private String status;	private String description;	private String createdfrom;	private Date createddate;	private String changedfrom;	private Date changeddate;	// Constructors	/** default constructor */	public CompanyServicePSol() {	}	/** minimal constructor */	public CompanyServicePSol(Integer prosolid) {		this.prosolid = prosolid;	}	/** full constructor */	public CompanyServicePSol(Integer prosolid, Integer serviceid,			String solutionnr, String name, String classification,			String category, String type, String status, String description,			String createdfrom, Date createddate, String changedfrom,			Date changeddate) {		this.prosolid = prosolid;		this.serviceid = serviceid;		this.solutionnr = solutionnr;		this.name = name;		this.classification = classification;		this.category = category;		this.type = type;		this.status = status;		this.description = description;		this.createdfrom = createdfrom;		this.createddate = createddate;		this.changedfrom = changedfrom;		this.changeddate = changeddate;	}	// Property accessors	@Id	@Column(name = "prosolid", unique = true, nullable = false)	public Integer getProsolid() {		return this.prosolid;	}	public void setProsolid(Integer prosolid) {		this.prosolid = prosolid;	}	@Column(name = "serviceid")	public Integer getServiceid() {		return this.serviceid;	}	public void setServiceid(Integer serviceid) {		this.serviceid = serviceid;	}	@Column(name = "solutionnr", length = 150)	public String getSolutionnr() {		return this.solutionnr;	}	public void setSolutionnr(String solutionnr) {		this.solutionnr = solutionnr;	}	@Column(name = "name")	public String getName() {		return this.name;	}	public void setName(String name) {		this.name = name;	}	@Column(name = "classification")	public String getClassification() {		return this.classification;	}	public void setClassification(String classification) {		this.classification = classification;	}	@Column(name = "category")	public String getCategory() {		return this.category;	}	public void setCategory(String category) {		this.category = category;	}	@Column(name = "type")	public String getType() {		return this.type;	}	public void setType(String type) {		this.type = type;	}	@Column(name = "status")	public String getStatus() {		return this.status;	}	public void setStatus(String status) {		this.status = status;	}	@Column(name = "description")	public String getDescription() {		return this.description;	}	public void setDescription(String description) {		this.description = description;	}	@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 + =
减小字号Ctrl + -
显示快捷键?