Sale.cs

Go to the documentation of this file.
00001 using System;
00002 using System.Collections.Generic;
00003 using System.Text;
00004 
00005 namespace HouseOver.THARM
00006 {
00010     [Serializable]
00011     public class Sale
00012     {
00013         protected Item item;
00014         protected Customer seller;
00015         protected DateTime putUpForSale;
00016         protected int price;
00017                 
00025         public Sale(int price, DateTime time, Item item, Customer seller)
00026         {
00027             this.item = item;
00028             this.price = price;
00029             this.putUpForSale = time;
00030             this.seller = seller;
00031         }
00032 
00036         public Customer Seller { get { return seller; } set { seller = value; } }
00037         
00041         public Item Item { get { return item; } set { item = value; } }
00042         
00046         public int Price { get { return price; } set { price = value; } }
00047         
00051         public DateTime PutUpForSale { get { return putUpForSale; } set { putUpForSale = value; } }
00052 
00053     }
00054 }

Generated on Wed Jan 10 03:42:42 2007 for THARM by  doxygen 1.5.1-p1