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

📄 orderinfo.java

📁 本系统是struts+hibernate完成的,主要功能是一个网上购物管理系统
💻 JAVA
字号:
package Entity.Pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * OrderInfo generated by MyEclipse - Hibernate Tools
 */

public class OrderInfo implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer orderId;

	private Integer userId;

	private String orderDate;

	private Double orderTotalPrice;

	private Set detail = new HashSet();

	/**
	 * @return the detail
	 */
	public Set getDetail() {
		return detail;
	}

	/**
	 * @param detail
	 *            the detail to set
	 */
	public void setDetail(Set detail) {
		this.detail = detail;
	}

	/** default constructor */
	public OrderInfo() {
	}

	/** minimal constructor */
	public OrderInfo(Integer userId, String orderDate) {
		this.userId = userId;
		this.orderDate = orderDate;
	}

	/** full constructor */
	public OrderInfo(Integer userId, String orderDate, Double orderTotalPrice) {
		this.userId = userId;
		this.orderDate = orderDate;
		this.orderTotalPrice = orderTotalPrice;
	}

	// Property accessors

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getOrderDate() {
		return this.orderDate;
	}

	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}

	public Double getOrderTotalPrice() {
		return this.orderTotalPrice;
	}

	public void setOrderTotalPrice(Double orderTotalPrice) {
		this.orderTotalPrice = orderTotalPrice;
	}

}

⌨️ 快捷键说明

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