📄 orderline.java
字号:
/*
* Created on 2005-11-4
* Author 曹汕
* Version 1.0
* Copyright by CS.SSPKU Inc. All rights reserved.
*/
package com.struts.business;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* @author cs
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class OrderLine implements Serializable{
//订单行ID
private int id;
//订单头ID
private int orderHeadId;
//产品ID
private int productId;
//产品数量
private int quantity;
//会员价格,注:此为订单中的价格,若原产品会员价格发生变动,已下的订单价格不变
private double orderPrice;
//订单行状态
private int status;
//备注
private String remark;
//订单行状态
private String statusName;
//产品标准定价
private double standardPrice;
//产品名称
private String productName;
/**
* @return Returns the id.
*/
public int getId() {
return id;
}
/**
* @param id The id to set.
*/
public void setId(int id) {
this.id = id;
}
/**
* @return Returns the orderHeadId.
*/
public int getOrderHeadId() {
return orderHeadId;
}
/**
* @param orderHeadId The orderHeadId to set.
*/
public void setOrderHeadId(int orderHeadId) {
this.orderHeadId = orderHeadId;
}
/**
* @return Returns the productId.
*/
public int getProductId() {
return productId;
}
/**
* @param productId The productId to set.
*/
public void setProductId(int productId) {
this.productId = productId;
}
/**
* @return Returns the productName.
*/
public String getProductName() {
return productName;
}
/**
* @param productName The productName to set.
*/
public void setProductName(String productName) {
this.productName = productName;
}
/**
* @return Returns the quantity.
*/
public int getQuantity() {
return quantity;
}
/**
* @param quantity The quantity to set.
*/
public void setQuantity(int quantity) {
this.quantity = quantity;
}
/**
* @return Returns the remark.
*/
public String getRemark() {
return remark;
}
/**
* @param remark The remark to set.
*/
public void setRemark(String remark) {
this.remark = remark;
}
/**
* @return Returns the standardPrice.
*/
public double getStandardPrice() {
return standardPrice;
}
/**
* @param standardPrice The standardPrice to set.
*/
public void setStandardPrice(double standardPrice) {
this.standardPrice = standardPrice;
}
/**
* @return Returns the status.
*/
public int getStatus() {
return status;
}
/**
* @param status The status to set.
*/
public void setStatus(int status) {
this.status = status;
}
/**
* @return Returns the statusName.
*/
public String getStatusName() {
return statusName;
}
/**
* @param statusName The statusName to set.
*/
public void setStatusName(String statusName) {
this.statusName = statusName;
}
/**
* @return Returns the orderPrice.
*/
public double getOrderPrice() {
return orderPrice;
}
/**
* @param orderPrice The orderPrice to set.
*/
public void setOrderPrice(double orderPrice) {
this.orderPrice = orderPrice;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -