using System;

using System.Data;

using System.Configuration;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Web.UI.WebControls.WebParts;

using System.Web.UI.HtmlControls;

 

/// <summary>

/// Summary description for Class1

/// </summary>

[Serializable]

public class ProductItem

{

      private int productId;

      private string name;

      private int count;

      private decimal Unitprice;

      public ProductItem() { }

      public ProductItem(int productId, string name,int count, decimal Unitprice)

      {

            this.productId=productId;

            this.name=name;

            this.count=count;

            this.Unitprice=Unitprice;

      }

      public int ProductID

      {

            get { return this.productId; }

            set { this.productId = value; }

      }

      public string Name

      {

            get { return this.name; }

            set { this.name = value; }

      }

      public int Count

      {

            get { return this.count; }

            set { this.count = value; }

      }

      public decimal unitprice

      {

            get { return this.Unitprice; }

            set { this.Unitprice = value; }

      }

           

      }