Role.cs 588 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. namespace CodeFirstExistingDatabaseSample.ReportServer.Models
  4. {
  5. public partial class Role
  6. {
  7. public Role()
  8. {
  9. PolicyUserRoles = new HashSet<PolicyUserRole>();
  10. }
  11. public Guid RoleId { get; set; }
  12. public string RoleName { get; set; } = null!;
  13. public string? Description { get; set; }
  14. public string TaskMask { get; set; } = null!;
  15. public byte RoleFlags { get; set; }
  16. public virtual ICollection<PolicyUserRole> PolicyUserRoles { get; set; }
  17. }
  18. }