⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orders.java

📁 使用jsp+Servlet,采用MVC模式,实现了一典型小型电子商务网站的全过程.包括前台和后台的全部功能.适合于初学者学习使用.
💻 JAVA
字号:
/**
 * 
 */
package com.eshop.vo;

/**
 * 订单数据库映射
 * @author jonson
 *
 */
public class Orders extends BaseVo {
	private long orderid;
	private String userid;
	private String datetime;
	private String shipaddr1;
	private String shipaddr2;
	private String shipcity;
	private String shipstate;
	private String shipzip;
	private String shipcountry;
	private String shiptoname;
	private String courier;
	private float totalprice;
	private PayInfo payInfo;
	private int number;//每个用户产生的订单数量
public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	//	private List lineItems=new ArrayList();
	/**
	 * @return the payInfo
	 */
	public PayInfo getPayInfo() {
		return payInfo;
	}
	/**
	 * @param payInfo the payInfo to set
	 */
	public void setPayInfo(PayInfo payInfo) {
		this.payInfo = payInfo;
	}
	/**
	 * @return the courier
	 */
	public String getCourier() {
		return courier;
	}
	/**
	 * @param courier the courier to set
	 */
	public void setCourier(String courier) {
		this.courier = courier;
	}
	/**
	 * @return the datetime
	 */
	public String getDatetime() {
		return datetime;
	}
	/**
	 * @param i the datetime to set
	 */
	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}
	/**
	 * @return the orderid
	 */
	public long getOrderid() {
		return orderid;
	}
	/**
	 * @param orderid the orderid to set
	 */
	public void setOrderid(long orderid) {
		this.orderid = orderid;
	}
	/**
	 * @return the shipaddr1
	 */
	public String getShipaddr1() {
		return shipaddr1;
	}
	/**
	 * @param shipaddr1 the shipaddr1 to set
	 */
	public void setShipaddr1(String shipaddr1) {
		this.shipaddr1 = shipaddr1;
	}
	/**
	 * @return the shipaddr2
	 */
	public String getShipaddr2() {
		return shipaddr2;
	}
	/**
	 * @param shipaddr2 the shipaddr2 to set
	 */
	public void setShipaddr2(String shipaddr2) {
		this.shipaddr2 = shipaddr2;
	}
	/**
	 * @return the shipcity
	 */
	public String getShipcity() {
		return shipcity;
	}
	/**
	 * @param shipcity the shipcity to set
	 */
	public void setShipcity(String shipcity) {
		this.shipcity = shipcity;
	}
	/**
	 * @return the shipcountry
	 */
	public String getShipcountry() {
		return shipcountry;
	}
	/**
	 * @param shipcountry the shipcountry to set
	 */
	public void setShipcountry(String shipcountry) {
		this.shipcountry = shipcountry;
	}
	/**
	 * @return the shipstate
	 */
	public String getShipstate() {
		return shipstate;
	}
	/**
	 * @param shipstate the shipstate to set
	 */
	public void setShipstate(String shipstate) {
		this.shipstate = shipstate;
	}
	/**
	 * @return the shiptoname
	 */
	public String getShiptoname() {
		return shiptoname;
	}
	/**
	 * @param shiptoname the shiptoname to set
	 */
	public void setShiptoname(String shiptoname) {
		this.shiptoname = shiptoname;
	}
	/**
	 * @return the shipzip
	 */
	public String getShipzip() {
		return shipzip;
	}
	/**
	 * @param shipzip the shipzip to set
	 */
	public void setShipzip(String shipzip) {
		this.shipzip = shipzip;
	}
	/**
	 * @return the totalprice
	 */
	public float getTotalprice() {
		return totalprice;
	}
	/**
	 * @param totalprice the totalprice to set
	 */
	public void setTotalprice(float totalprice) {
		this.totalprice = totalprice;
	}
	/**
	 * @return the userid
	 */
	public String getUserid() {
		return userid;
	}
	/**
	 * @param userid the userid to set
	 */
	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	

}

⌨️ 快捷键说明

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