using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GreenTree.Nachtragsmanagement.Core.Domain.User
{
public class User : BaseEntity
{
#region Fields
///
/// Rolelist
///
private ICollection _roles;
#endregion
///
/// CustomId for identification
///
public int CustomId { get; set; }
///
/// Forename
///
public string Forename { get; set; }
///
/// Lastname
///
public string Lastname { get; set; }
///
/// Mail-Address
///
public string MailAddress { get; set; }
///
/// Roles the user have
///
public virtual ICollection Roles
{
get { return _roles ?? (_roles = new List()); }
protected set { _roles = value; }
}
}
}