📄 product.java
字号:
/*
* Created on 2005-10-29
* 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 Product implements Serializable {
//商品ID
private int id;
//商品编码
private String code;
//商品名称
private String name;
//标准定价
private double standard_price;
//条形码
private String barcode;
//示图
private String pic_url;
//描述
private String description;
//商品会员价格
private double member_price;
//商品类别
private int product_type;
// 商品类别
private String product_typename;
//商品库存数量
private int stock_quantity;
/**
* @return Returns the member_price.
*/
public double getMember_price() {
return member_price;
}
/**
* @param member_price The member_price to set.
*/
public void setMember_price(double member_price) {
this.member_price = member_price;
}
/**
* @return Returns the product_type.
*/
public int getProduct_type() {
return product_type;
}
/**
* @param product_type The product_type to set.
*/
public void setProduct_type(int product_type) {
this.product_type = product_type;
}
/**
* @return Returns the stock_quantity.
*/
public int getStock_quantity() {
return stock_quantity;
}
/**
* @param stock_quantity The stock_quantity to set.
*/
public void setStock_quantity(int stock_quantity) {
this.stock_quantity = stock_quantity;
}
/**
* @return Returns the barcode.
*/
public String getBarcode() {
return barcode;
}
/**
* @param barcode The barcode to set.
*/
public void setBarcode(String barcode) {
this.barcode = barcode;
}
/**
* @return Returns the code.
*/
public String getCode() {
return code;
}
/**
* @param code The code to set.
*/
public void setCode(String code) {
this.code = code;
}
/**
* @return Returns the description.
*/
public String getDescription() {
return description;
}
/**
* @param description The description to set.
*/
public void setDescription(String description) {
this.description = description;
}
/**
* @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 name.
*/
public String getName() {
return name;
}
/**
* @param name The name to set.
*/
public void setName(String name) {
this.name = name;
}
/**
* @return Returns the pic_url.
*/
public String getPic_url() {
return pic_url;
}
/**
* @param pic_url The pic_url to set.
*/
public void setPic_url(String pic_url) {
this.pic_url = pic_url;
}
/**
* @return Returns the stand_price.
*/
public double getStandard_price() {
return standard_price;
}
/**
* @param stand_price The stand_price to set.
*/
public void setStandard_price(double stand_price) {
this.standard_price = stand_price;
}
/**
* @return Returns the product_typename.
*/
public String getProduct_typename() {
return product_typename;
}
/**
* @param product_typename The product_typename to set.
*/
public void setProduct_typename(String product_typename) {
this.product_typename = product_typename;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -