?? transaction.java
字號:
import java.io.Serializable;
public class Transaction implements Serializable {
private static final long serialVersionUID = 1L;
private int accountNumber;
private String transactionType;
private double amount;
private double balance;
public Transaction(){
this.setAccountNumber(-1);
this.setTransactionType("");
this.setAmount(0.00);
this.setBalance(0.00);
}
public int getAccountNumber() {
return accountNumber;
}
public void setAccountNumber(int accountNumber) {
this.accountNumber = accountNumber;
}
public double getAmount() {
return amount;
}
public void setAmount(double amount) {
this.amount = amount;
}
public double getBalance() {
return balance;
}
public void setBalance(double balance) {
this.balance = balance;
}
public String getTransactionType() {
return transactionType;
}
public void setTransactionType(String transactionType) {
this.transactionType = transactionType;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -