monetaryamount.java

来自「hibernate3.2.6源码和jar包」· Java 代码 · 共 37 行

JAVA
37
字号
//$Id: MonetaryAmount.java 11282 2007-03-14 22:05:59Z epbernard $package org.hibernate.test.annotations.entity;import java.io.Serializable;import java.math.BigDecimal;import java.util.Currency;/** * @author Emmanuel Bernard */public class MonetaryAmount implements Serializable {	private BigDecimal amount;	private Currency currency;	public MonetaryAmount(BigDecimal amount, Currency currency) {		this.amount = amount;		this.currency = currency;	}	public BigDecimal getAmount() {		return amount;	}	public void setAmount(BigDecimal amount) {		this.amount = amount;	}	public Currency getCurrency() {		return currency;	}	public void setCurrency(Currency currency) {		this.currency = currency;	}}

⌨️ 快捷键说明

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