mealbean.java

来自「JavaEE订餐项目的功能:用户登录、用户注册、添加订餐信息、查询订餐、结算、权」· Java 代码 · 共 90 行

JAVA
90
字号
package com.amaker.bean;

public class MealBean {
	/*select m.id,
    m.`orderTime`,
    sm.`fullName`,
    mt.`name`,
    mt.price,
    m.num,
    (mt.price*m.num) as total,
    m.detail
from MealTbl as m
left join MealTypeTbl as mt
on m.mealTypeID = mt.id
left join SystemMemberTbl as sm
on sm.id = m.userID*/
	
	private int id;
	private String orderTime;
	private String fullName;
	private String mealTypeName;
	private int price;
	private int num;
	private int total;
	
	private int pay;
	
	
	
	private String detail;
	
	//private int pay
	
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMealTypeName() {
		return mealTypeName;
	}
	public void setMealTypeName(String mealTypeName) {
		this.mealTypeName = mealTypeName;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getPay() {
		return pay;
	}
	public void setPay(int pay) {
		this.pay = pay;
	}
	
}

⌨️ 快捷键说明

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