1、创建一个javabean对象
import java.io.Serializable;
public class GoodPrint implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
private String goodName;
private String goodNo;
private String barcode;
private java.math.BigDecimal quantity;
private String quantityUnit;
public GoodPrint(){
}
public GoodPrint(String goodName,String goodNo,String barcode,java.math.BigDecimal quantity,String quantityUnit){
this.goodName=goodName;
this.goodNo=goodNo;
this.barcode=barcode;
this.quantity=quantity;
this.quantityUnit=quantityUnit;
}
public String getGoodName() {
return goodName;
}
public void setGoodName(String good