📄 goodsinfo.java
字号:
package com.wl.entity;
/**
*
* @author wangJianwei
*商品信息表javaBean
*/
public class GoodsInfo {
public GoodsInfo() {
}
private int id; //商品信息表自动编号
private String goodsId; //商品Id
private String goodsName; //商品名称
private int goodsCateId; //商品分类Id
private int goodsSupplyId;//商品供应商Id
private String goodsABC; //商品ABC分类
private String goodsProvince; //商品产地省
private String goodsCity; //商品产地市
private int goodsStockId; //商品所在仓库Id
private float goodsPrice; //商品单价
private int goodsStockNumber; //商品库存量
private String goodsOrderDate; //商品定购日期
private String goodsStockInDate; //商品入库日期
private String goodsUnit; //商品单位
private int typeId; //商品型号Id
private String goodstypeName; //商品分类
private String goodsSupplyName;//供应商名称
private String goodsPostionName;//商品所在位置名称
private String goodsCommectName;//商品型号名称
public GoodsInfo(int id,String goodsId,String goodsName,int goodsCateId,int goodsSupplyId,String goodsABC,String goodsProvince,String goodsCity,
int goodsStockId,float goodsPrice,int goodsStockNumber,String goodsOrderDate,String goodsStockInDate,String goodsUnit,
int typeId,String goodstypeName,String goodsSupplyName,String goodsPostionName,String goodsCommectName) {
this.id = id;
this.goodsId = goodsId;
this.goodsABC = goodsABC;
this.goodsCateId = goodsCateId;
this.goodsCity = goodsCity;
this.goodsName = goodsName;
this.goodsOrderDate = goodsOrderDate;
this.goodsPrice = goodsPrice;
this.goodsProvince = goodsProvince;
this.goodsStockId = goodsStockId;
this.goodsStockInDate = goodsStockInDate;
this.goodsStockNumber = goodsStockNumber;
this.goodsSupplyId = goodsSupplyId;
this.goodsUnit = goodsUnit;
this.typeId = typeId;
this.goodstypeName=goodstypeName;
this.goodsSupplyName=goodsSupplyName;
this.goodsPostionName=goodsPostionName;
this.goodsCommectName=goodsCommectName;
}
public GoodsInfo(int id,String goodsId,String goodsName,int goodsCateId,int goodsSupplyId,String goodsABC,String goodsProvince,String goodsCity,
int goodsStockId,float goodsPrice,int goodsStockNumber,String goodsOrderDate,String goodsStockInDate,String goodsUnit,
int typeId) {
this.id = id;
this.goodsId = goodsId;
this.goodsABC = goodsABC;
this.goodsCateId = goodsCateId;
this.goodsCity = goodsCity;
this.goodsName = goodsName;
this.goodsOrderDate = goodsOrderDate;
this.goodsPrice = goodsPrice;
this.goodsProvince = goodsProvince;
this.goodsStockId = goodsStockId;
this.goodsStockInDate = goodsStockInDate;
this.goodsStockNumber = goodsStockNumber;
this.goodsSupplyId = goodsSupplyId;
this.goodsUnit = goodsUnit;
this.typeId = typeId;
}
public GoodsInfo(String goodsId,String goodsName,int goodsCateId,int goodsSupplyId,String goodsABC,String goodsProvince,String goodsCity,
int goodsStockId,float goodsPrice,int goodsStockNumber,String goodsOrderDate,String goodsStockInDate,String goodsUnit,
int typeId) {
this.goodsId = goodsId;
this.goodsABC = goodsABC;
this.goodsCateId = goodsCateId;
this.goodsCity = goodsCity;
this.goodsName = goodsName;
this.goodsOrderDate = goodsOrderDate;
this.goodsPrice = goodsPrice;
this.goodsProvince = goodsProvince;
this.goodsStockId = goodsStockId;
this.goodsStockInDate = goodsStockInDate;
this.goodsStockNumber = goodsStockNumber;
this.goodsSupplyId = goodsSupplyId;
this.goodsUnit = goodsUnit;
this.typeId = typeId;
}
/**
*
* @return id
*/
public int getId() {
return id;
}
/**
*
* @param id
*/
public void setId(int id) {
this.id = id;
}
/**
*
* @return goodsId
*/
public String getGoodsId() {
return goodsId;
}
/**
*
* @param goodsId
*/
public void setGoodsId(String goodsId) {
this.goodsId = goodsId;
}
/**
*
* @return goodsName
*/
public String getGoodsName() {
return goodsName;
}
/**
*
* @param goodsName
*/
public void setGoodsName(String goodsName) {
this.goodsName = goodsName;
}
/**
*
* @return goodsCateId
*/
public int getGoodsCateId() {
return goodsCateId;
}
/**
*
* @param goodsCateId
*/
public void setGoodsCateId(int goodsCateId) {
this.goodsCateId = goodsCateId;
}
/**
*
* @return goodsSupplyId
*/
public int getGoodsSupplyId() {
return goodsSupplyId;
}
/**
*
* @param goodsSupplyId
*/
public void setGoodsSupplyId(int goodsSupplyId) {
this.goodsSupplyId = goodsSupplyId;
}
/**
*
* @return goodsABC
*/
public String getGoodsABC() {
return goodsABC;
}
/**
*
* @param goodsABC
*/
public void setGoodsABC(String goodsABC) {
this.goodsABC = goodsABC;
}
/**
*
* @return goodsProvince
*/
public String getGoodsProvince() {
return goodsProvince;
}
/**
*
* @param goodsProvince
*/
public void setGoodsProvince(String goodsProvince) {
this.goodsProvince = goodsProvince;
}
/**
*
* @return goodsCity
*/
public String getGoodsCity() {
return goodsCity;
}
/**
*
* @param goodsCity
*/
public void setGoodsCity(String goodsCity) {
this.goodsCity = goodsCity;
}
/**
*
* @return goodsStockId
*/
public int getGoodsStockId() {
return goodsStockId;
}
/**
*
* @param goodsStockId
*/
public void setGoodsStockId(int goodsStockId) {
this.goodsStockId = goodsStockId;
}
/**
*
* @return goodsPrice
*/
public float getGoodsPrice() {
return goodsPrice;
}
/**
*
* @param goodsPrice
*/
public void setGoodsPrice(float goodsPrice) {
this.goodsPrice = goodsPrice;
}
/**
*
* @return goodsStockNumber
*/
public int getGoodsStockNumber() {
return goodsStockNumber;
}
/**
*
* @param goodsStockNumber
*/
public void setGoodsStockNumber(int goodsStockNumber) {
this.goodsStockNumber = goodsStockNumber;
}
/**
*
* @return goodsOrderDate
*/
public String getGoodsOrderDate() {
return goodsOrderDate;
}
/**
*
* @param goodsOrderDate
*/
public void setGoodsOrderDate(String goodsOrderDate) {
this.goodsOrderDate = goodsOrderDate;
}
/**
*
* @return goodsStockInDate
*/
public String getGoodsStockInDate() {
return goodsStockInDate;
}
/**
*
* @param goodsStockInDate
*/
public void setGoodsStockInDate(String goodsStockInDate) {
this.goodsStockInDate = goodsStockInDate;
}
/**
*
* @return goodsUnit
*/
public String getGoodsUnit() {
return goodsUnit;
}
/**
*
* @param goodsUnit
*/
public void setGoodsUnit(String goodsUnit) {
this.goodsUnit = goodsUnit;
}
/**
*
* @return typeId
*/
public int getTypeId() {
return typeId;
}
/**
*
* @param typeId
*/
public void setTypeId(int typeId) {
this.typeId = typeId;
}
public String getGoodstypeName() {
return goodstypeName;
}
public void setGoodstypeName(String goodstypeName) {
this.goodstypeName = goodstypeName;
}
public String getGoodsSupplyName() {
return goodsSupplyName;
}
public void setGoodsSupplyName(String goodsSupplyName) {
this.goodsSupplyName = goodsSupplyName;
}
public String getGoodsPostionName() {
return goodsPostionName;
}
public void setGoodsPostionName(String goodsPostionName) {
this.goodsPostionName = goodsPostionName;
}
public String getGoodsCommectName() {
return goodsCommectName;
}
public void setGoodsCommectName(String goodsCommectName) {
this.goodsCommectName = goodsCommectName;
}
/**
* 复写toString()方法
*/
public String toString() {
return goodsId+""+goodsABC+""+goodsCateId+""+goodsCity+""+goodsName+""
+goodsOrderDate+""+goodsPrice+""+goodsProvince+""+goodsStockId+""
+goodsStockInDate+""+goodsStockNumber+""+goodsSupplyId+""+goodsUnit+""
+""+typeId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -