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

📄 companyorderpositions.java

📁 Struts2 + Spring JPA Hibernate demo.
💻 JAVA
字号:
package com.vegeta.model.company.order;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;/** * CompanyOrderPositions entity. @author MyEclipse Persistence Tools */@Entity@Table(name = "company_order_positions", schema = "public")public class CompanyOrderPositions implements java.io.Serializable {	// Fields	private Integer positionid;	private Integer orderid;	private Integer productid;	private String deduction;	private String productnr;	private String productname;	private Long quantity;	private Double netamount;	private Double pretax;	private String taxtype;	private String type;	private String category;	private String description;	private String createdfrom;	private Date createddate;	private Date changeddate;	private String changedfrom;	// Constructors	/** default constructor */	public CompanyOrderPositions() {	}	/** minimal constructor */	public CompanyOrderPositions(Integer positionid) {		this.positionid = positionid;	}	/** full constructor */	public CompanyOrderPositions(Integer positionid, Integer orderid,			Integer productid, String deduction, String productnr,			String productname, Long quantity, Double netamount, Double pretax,			String taxtype, String type, String category, String description,			String createdfrom, Date createddate, Date changeddate,			String changedfrom) {		this.positionid = positionid;		this.orderid = orderid;		this.productid = productid;		this.deduction = deduction;		this.productnr = productnr;		this.productname = productname;		this.quantity = quantity;		this.netamount = netamount;		this.pretax = pretax;		this.taxtype = taxtype;		this.type = type;		this.category = category;		this.description = description;		this.createdfrom = createdfrom;		this.createddate = createddate;		this.changeddate = changeddate;		this.changedfrom = changedfrom;	}	// Property accessors	@Id	@Column(name = "positionid", unique = true, nullable = false)	public Integer getPositionid() {		return this.positionid;	}	public void setPositionid(Integer positionid) {		this.positionid = positionid;	}	@Column(name = "orderid")	public Integer getOrderid() {		return this.orderid;	}	public void setOrderid(Integer orderid) {		this.orderid = orderid;	}	@Column(name = "productid")	public Integer getProductid() {		return this.productid;	}	public void setProductid(Integer productid) {		this.productid = productid;	}	@Column(name = "deduction", length = 5)	public String getDeduction() {		return this.deduction;	}	public void setDeduction(String deduction) {		this.deduction = deduction;	}	@Column(name = "productnr")	public String getProductnr() {		return this.productnr;	}	public void setProductnr(String productnr) {		this.productnr = productnr;	}	@Column(name = "productname")	public String getProductname() {		return this.productname;	}	public void setProductname(String productname) {		this.productname = productname;	}	@Column(name = "quantity")	public Long getQuantity() {		return this.quantity;	}	public void setQuantity(Long quantity) {		this.quantity = quantity;	}	@Column(name = "netamount", precision = 17, scale = 17)	public Double getNetamount() {		return this.netamount;	}	public void setNetamount(Double netamount) {		this.netamount = netamount;	}	@Column(name = "pretax", precision = 17, scale = 17)	public Double getPretax() {		return this.pretax;	}	public void setPretax(Double pretax) {		this.pretax = pretax;	}	@Column(name = "taxtype", length = 150)	public String getTaxtype() {		return this.taxtype;	}	public void setTaxtype(String taxtype) {		this.taxtype = taxtype;	}	@Column(name = "type")	public String getType() {		return this.type;	}	public void setType(String type) {		this.type = type;	}	@Column(name = "category")	public String getCategory() {		return this.category;	}	public void setCategory(String category) {		this.category = category;	}	@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;	}	@Temporal(TemporalType.DATE)	@Column(name = "changeddate", length = 13)	public Date getChangeddate() {		return this.changeddate;	}	public void setChangeddate(Date changeddate) {		this.changeddate = changeddate;	}	@Column(name = "changedfrom", length = 150)	public String getChangedfrom() {		return this.changedfrom;	}	public void setChangedfrom(String changedfrom) {		this.changedfrom = changedfrom;	}}

⌨️ 快捷键说明

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