📄 stockassertentity.java
字号:
/**
*
*/
package ase.assignment.sts.beans;
import java.io.Serializable;
/**
* @author Lionel
*
*/
public class StockAssertEntity implements Serializable{
private int id;
private String name;
private int portfolio;
private int amount;
private double initPrice;
public StockAssertEntity(int id) {
this.id = id;
}
/**
* @return the id
*/
public int getId() {
return id;
}
/**
* @param name
* the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param portfolio
* the portfolio to set
*/
public void setPortfolio(int portfolio) {
this.portfolio = portfolio;
}
/**
* @return the portfolio
*/
public int getPortfolio() {
return portfolio;
}
/**
* @param amount
* the amount to set
*/
public void setAmount(int amount) {
this.amount = amount;
}
/**
* @return the amount
*/
public int getAmount() {
return amount;
}
/**
* @param initPrice
* the initPrice to set
*/
public void setInitPrice(double initPrice) {
this.initPrice = initPrice;
}
/**
* @return the initPrice
*/
public double getInitPrice() {
return initPrice;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -