00001 using System; 00002 using System.Collections.Generic; 00003 using System.Text; 00004 using System.Collections; 00005 00006 namespace HouseOver.THARM 00007 { 00012 [Serializable] 00013 public class Customer : UniquelyIdentifiable 00014 { 00015 private int postalcode; 00016 private string name; 00017 00023 public Customer(int postalCode, string name) : base(UniquelyIdentifiable.NextID) 00024 { 00025 this.postalcode = postalCode; 00026 this.name = name; 00027 } 00028 00032 public int Postalcode { get { return postalcode; } set { postalcode = value; } } 00036 public string Name { get { return name; } set { name = value; } } 00037 } 00038 }