using System; using EPS.Common.Repositories; namespace EPS.Common.Tests { public class Address : IModel { #region IModel Members private int _id = 0; /// /// Gets or sets the ID. I'm sure this is a design flaw somewhere, but /// the repository will always set this when a model is saved for the /// first time in the repository. /// /// The ID of the model. public int ID { get { return _id; } set { _id = value; } } #endregion private string _address1; public string Address1 { get { return _address1; } set { _address1 = value; } } private string _address2; public string Address2 { get { return _address2; } set { _address2 = value; } } private string _city; public string City { get { return _city; } set { _city = value; } } private string _stateCode; public string StateCode { get { return _stateCode; } set { _stateCode = value; } } private string _zip; public string Zip { get { return _zip; } set { _zip = value; } } } }