namespace BusinessLogic.Entities { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public partial class Role { public Role() { UserRoles = new HashSet(); } public int RoleId { get; set; } [Required] [StringLength(100)] public string Name { get; set; } [Required] [StringLength(200)] public string DisplayName { get; set; } public virtual ICollection UserRoles { get; set; } } }