txdetails.java
来自「本教程介绍j2ee企业开发方面的知识」· Java 代码 · 共 68 行
JAVA
68 行
/* * * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. * * This software is the proprietary information of Sun Microsystems, Inc. * Use is subject to license terms. * */package com.sun.ebank.util;import java.util.Date;import java.util.ArrayList;/** * This class holds the details of a bank transaction entity. */public class TxDetails implements java.io.Serializable { private String txId; private String accountId; private Date timeStamp; private double amount; private double balance; private String description; public TxDetails(String txId, String accountId, Date timeStamp, double amount, double balance, String description) { this.txId = txId; this.accountId = accountId; this.timeStamp = timeStamp; this.amount = amount; this.balance = balance; this.description = description; } // getters public String getTxId() { return txId; } public String getAccountId() { return accountId; } public Date getTimeStamp() { return timeStamp; } public double getAmount() { return amount; } public double getBalance() { return balance; } public String getDescription() { return description; }} // TxDetails
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?