?? accountfood.java
字號:
package com.web.model;
/**
* AccountFood entity.
*
* @author MyEclipse Persistence Tools
*/
public class AccountFood implements java.io.Serializable {
// Fields
private String afId;
private FoodInfo foodInfo;
private Account account;
private Integer afFoodCount;
private float afTotalPrice;
// Constructors
/** default constructor */
public AccountFood() {
}
/** minimal constructor */
public AccountFood(String afId, FoodInfo foodInfo, Account account) {
this.afId = afId;
this.foodInfo = foodInfo;
this.account = account;
}
/** full constructor */
public AccountFood(String afId, FoodInfo foodInfo, Account account,
Integer afFoodCount, Integer afTotalPrice) {
this.afId = afId;
this.foodInfo = foodInfo;
this.account = account;
this.afFoodCount = afFoodCount;
this.afTotalPrice = afTotalPrice;
}
// Property accessors
public String getAfId() {
return this.afId;
}
public void setAfId(String afId) {
this.afId = afId;
}
public FoodInfo getFoodInfo() {
return this.foodInfo;
}
public void setFoodInfo(FoodInfo foodInfo) {
this.foodInfo = foodInfo;
}
public Account getAccount() {
return this.account;
}
public void setAccount(Account account) {
this.account = account;
}
public Integer getAfFoodCount() {
return this.afFoodCount;
}
public void setAfFoodCount(Integer afFoodCount) {
this.afFoodCount = afFoodCount;
}
public Float getAfTotalPrice() {
return this.afTotalPrice;
}
public void setAfTotalPrice(Float afTotalPrice) {
this.afTotalPrice = afTotalPrice;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -