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

📄 voucherentry.java

📁 模拟简单的会计信息录入管理应用
💻 JAVA
字号:
package org.operamasks.example.ejb.gl.entity;import javax.persistence.CascadeType;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.FetchType;import javax.persistence.Id;import javax.persistence.JoinColumn;import javax.persistence.ManyToOne;import javax.persistence.OneToMany;import javax.persistence.OneToOne;import javax.persistence.Table;import org.operamasks.faces.annotation.Bind;/**  * @generated  */@Table(name = "VOUCHERENTRY")@SuppressWarnings("serial")@Entitypublic class VoucherEntry implements java.io.Serializable {	/** 	 * @generated  	 */	@Column(name = "ID")	@Id	@Bind	private java.lang.String id;	/** 	 * @generated	 */	@Column(name = "SEQ")	@Bind	private int seq;	/** 	 * @generated	 */	@Column(name = "ISCHECK")	@Bind	private boolean isCheck;	/** 	 * @generated	 */	@Column(name = "DESCRIPTION")	@Bind	private java.lang.String description;	/** 	 * @generated	 */	@Column(name = "PRICE")	@Bind	private double price;	/** 	 * @generated	 */	@Column(name = "QUANTITY")	@Bind	private int quantity;	/** 	 * @generated	 */	@Column(name = "LOCALAMOUNT")	@Bind	private double localAmount;	/** 	 * @generated	 * 	 */	@ManyToOne(fetch = FetchType.EAGER, cascade = { CascadeType.REFRESH })	@JoinColumn(name = "VOUCHER")	private org.operamasks.example.ejb.gl.entity.Voucher voucher;	/** 	 * @generated	 * 	 */	@OneToMany(fetch = FetchType.EAGER, cascade = { CascadeType.ALL }, mappedBy = "voucherEntry")	private java.util.List<org.operamasks.example.ejb.gl.entity.VoucherAssistRecord> voucherAssistRecords = new java.util.ArrayList<org.operamasks.example.ejb.gl.entity.VoucherAssistRecord>();	/** 	 * @generated	 * 	 */	@OneToOne(fetch = FetchType.EAGER, cascade = { CascadeType.REFRESH })	@JoinColumn(name = "ACCOUNTVIEW")	private org.operamasks.example.ejb.gl.entity.AccountView accountView;	/** 	 * @generated	 * 	 */	@OneToOne(fetch = FetchType.EAGER, cascade = { CascadeType.REFRESH })	@JoinColumn(name = "CASHIER")	private org.operamasks.example.ejb.gl.entity.Person cashier;	/** 	 * @generated	 * 	 */	@OneToOne(fetch = FetchType.EAGER, cascade = { CascadeType.REFRESH })	@JoinColumn(name = "CURRENCY")	private org.operamasks.example.ejb.gl.entity.Currency currency;	/** 	 * @generated	 */	public java.lang.String getId() {		return this.id;	}	/** 	 * @generated	 */	public void setId(java.lang.String value) {		this.id = value;	}	/** 	 * @generated	 */	public int getSeq() {		return this.seq;	}	/** 	 * @generated	 */	public void setSeq(int value) {		this.seq = value;	}	/** 	 * @generated	 */	public boolean getIsCheck() {		return this.isCheck;	}	/** 	 * @generated	 */	public void setIsCheck(boolean value) {		this.isCheck = value;	}	/** 	 * @generated	 */	public java.lang.String getDescription() {		return this.description;	}	/** 	 * @generated	 */	public void setDescription(java.lang.String value) {		this.description = value;	}	/** 	 * @generated	 */	public double getPrice() {		return this.price;	}	/** 	 * @generated	 */	public void setPrice(double value) {		this.price = value;	}	/** 	 * @generated	 */	public int getQuantity() {		return this.quantity;	}	/** 	 * @generated	 */	public void setQuantity(int value) {		this.quantity = value;	}	/** 	 * @generated	 */	public double getLocalAmount() {		return this.localAmount;	}	/** 	 * @generated	 */	public void setLocalAmount(double value) {		this.localAmount = value;	}	/** 	 * @generated	 * 	 * 	 */	public org.operamasks.example.ejb.gl.entity.Voucher getVoucher() {		return this.voucher;	}	/** 	 * @generated	 * 	 * 	 */	public void setVoucher(org.operamasks.example.ejb.gl.entity.Voucher value) {		this.voucher = value;	}	/** 	 * @generated	 * 	 * 	 */	public java.util.List<org.operamasks.example.ejb.gl.entity.VoucherAssistRecord> getVoucherAssistRecords() {		return this.voucherAssistRecords;	}	/** 	 * @generated	 * 	 * 	 */	public void setVoucherAssistRecords(			java.util.List<org.operamasks.example.ejb.gl.entity.VoucherAssistRecord> value) {		this.voucherAssistRecords = value;	}	/** 	 * @generated	 * 	 * 	 */	public org.operamasks.example.ejb.gl.entity.AccountView getAccountView() {		return this.accountView;	}	/** 	 * @generated	 * 	 * 	 */	public void setAccountView(			org.operamasks.example.ejb.gl.entity.AccountView value) {		this.accountView = value;	}	/** 	 * @generated	 * 	 * 	 */	public org.operamasks.example.ejb.gl.entity.Person getCashier() {		return this.cashier;	}	/** 	 * @generated	 * 	 * 	 */	public void setCashier(org.operamasks.example.ejb.gl.entity.Person value) {		this.cashier = value;	}	/** 	 * @generated	 * 	 * 	 */	public org.operamasks.example.ejb.gl.entity.Currency getCurrency() {		return this.currency;	}	/** 	 * @generated	 * 	 * 	 */	public void setCurrency(org.operamasks.example.ejb.gl.entity.Currency value) {		this.currency = value;	}}

⌨️ 快捷键说明

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