Domicile.cs

Go to the documentation of this file.
00001 using System;
00002 using System.Collections.Generic;
00003 using System.Text;
00004 using HouseOver.THARM.Attributes;
00005 
00009 namespace HouseOver.THARM.Buildings
00010 {
00014     [SearchItems]
00015     [Serializable]
00016     public class Domicile : Item
00017     {
00019         protected int buildingYear;
00021         protected int levels;
00022 
00031         public Domicile(int id, int postalCode, int area, int buildingYear, int levels)
00032             : base(id, postalCode, area)
00033         {
00034             this.buildingYear = buildingYear;
00035             this.levels = levels;
00036         }
00037 
00041         [SaleCriteria("Year of Construction")]
00042         public int BuildingYear { get { return buildingYear; } set { buildingYear = value; } }
00043         
00047         [SaleCriteria]
00048         public int Levels { get { return levels; } set { levels = value; } }
00049 
00053         public Domicile() : base(UniquelyIdentifiable.NextID) { }
00054 
00059         public Domicile(int id) : base(id) { }
00060     }
00061 }

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