using System;
using System.Collections.Generic;
using System.Text;

namespace GreenTree.Strohrmann.ERP.Core.Domain.Business
{
    public class Title
    {
        #region Properties

        /// <summary>
        /// Title id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Title name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Tax customers
        /// </summary>
        public virtual ICollection<Customer> Customers { get; set; }

        #endregion

        #region Ctor

        /// <summary>
        /// Initializes a new instance of the Title class
        /// </summary>
        public Title() { }

        /// <summary>
        /// Initializes a new instance of the Title class
        /// </summary>
        /// <param name="id">The id.</param>
        /// <param name="name">The name.</param>
        public Title(int id, string name)
        {
            Id = id;
            Name = name;
        }

        #endregion
    }
}
