package org.compiere.vos;

import org.compiere.util.NamePair;

public class ProductInfo extends NamePair
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public ProductInfo(){}
	/**
	 * 	ProductInfo
	 *	
	 */
	public ProductInfo (int newM_Product_ID, 
		String newName,String newTitle,String newGroupName,String newBomType,String newQuantity)
	{
		super(newName);
		M_Product_ID = newM_Product_ID;		
		Name = newName;
		title = newTitle;
		groupName = newGroupName;
		bomType = newBomType;
		quantity = newQuantity;
	}
	public int M_Product_ID;
	public String Name;
	public String title; 
	public String groupName;
	public String bomType;
	public String quantity;
	/**
	 * 	to String
	 *	@return infoint
	 */
	public String toString()
	{
		return Name;
	}

	
	public String getID() {
		// TODO Auto-generated method stub
		return Integer.toString(M_Product_ID);
	}
	
	public String getGroupName(){
		return groupName;
	}
	
	public String getTitle(){
		return groupName;
	}
	
	/*public String getName(){
		return Name;
	}*/
	
	public String getBomType(){
		return (bomType);
	}
	
	public String getQuantity(){
		return quantity;
	}
}   //  BankInfo


