// ***********************************************************************
// Assembly : dotNetTips.CodePerf.Example.App
// Author : David McCarter
// Created : 06-04-2019
//
// Last Modified By : David McCarter
// Last Modified On : 06-10-2019
// ***********************************************************************
//
// 2019: David McCarter - McCarter Consulting
//
//
// ***********************************************************************
using System;
namespace dotNetTips.CodePerf.Example.App.Models
{
///
/// Class Person.
///
///
[Serializable]
public class Person
{
///
/// Initializes a new instance of the class.
///
/// The identifier.
/// The email.
public Person(string id, string email)
{
this.Id = id;
this.Email = email;
}
///
/// Initializes a new instance of the class.
///
public Person()
{ }
///
/// Gets or sets the address1.
///
/// The address1.
public string Address1 { get; set; }
///
/// Gets or sets the address2.
///
/// The address2.
public string Address2 { get; set; }
///
/// Gets or sets the born on.
///
/// The born on.
public DateTime BornOn { get; set; }
///
/// Gets or sets the cell phone.
///
/// The cell phone.
public string CellPhone { get; set; }
///
/// Gets or sets the city.
///
/// The city.
public string City { get; set; }
///
/// Gets or sets the country.
///
/// The country.
public string Country { get; set; } = "USA";
///
/// Gets the email.
///
/// The email.
public string Email { get; set; }
///
/// Gets or sets the first name.
///
/// The first name.
public string FirstName { get; set; }
///
/// Gets or sets the home phone.
///
/// The home phone.
public string HomePhone { get; set; }
///
/// Gets the identifier.
///
/// The identifier.
public string Id { get; set; }
///
/// Gets or sets the last name.
///
/// The last name.
public string LastName { get; set; }
///
/// Gets or sets the postal code.
///
/// The postal code.
public string PostalCode { get; set; }
}
}