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

namespace GreenTree.Maschinenbestellungen.Core.Domain.Rights
{
    public class User
    {
        /// <summary>
        /// User Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// User accountname
        /// </summary>
        public string Accountname { get; set; }

        /// <summary>
        /// User forename
        /// </summary>
        public string Forename { get; set; }

        /// <summary>
        /// User lastname
        /// </summary>
        public string Lastname { get; set; }

        /// <summary>
        /// User mail address
        /// </summary>
        public string MailAddress { get; set; }

        /// <summary>
        /// User password (encrypted)
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// User birthdate
        /// </summary>
        public DateTime? Birthdate { get; set; }

        /// <summary>
        /// User activation status
        /// </summary>
        public bool? Activated { get; set; }

        /// <summary>
        /// User policies
        /// </summary>
        public virtual ICollection<UserPolicy> Policies { get; set; }
    }
}
