using System.Collections.ObjectModel;

namespace MvcKendoUiSample.Models
{
    public class Customer
    {
        public Customer()
        {
            this.Adresses = new Collection<Address>();

            this.Status = Status.Active;
        }

        /// <summary>
        /// Gets and sets the Id.
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// Gets and sets the AccountNumber
        /// </summary>
        public string AccountNumber { get; set; }

        /// <summary>
        /// Gets and sets the customer's name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets and sets the customer's status
        /// </summary>
        public Status Status { get; set; }

        /// <summary>
        /// Gets the customer's addresses
        /// </summary>
        public Collection<Address> Adresses { get; private set; }
    }
}