User.cs 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. namespace CodeFirstExistingDatabaseSample.ReportServer.Models
  4. {
  5. public partial class User
  6. {
  7. public User()
  8. {
  9. CatalogCreatedBies = new HashSet<Catalog>();
  10. CatalogModifiedBies = new HashSet<Catalog>();
  11. PolicyUserRoles = new HashSet<PolicyUserRole>();
  12. Schedules = new HashSet<Schedule>();
  13. SubscriptionModifiedBies = new HashSet<Subscription>();
  14. SubscriptionOwners = new HashSet<Subscription>();
  15. }
  16. public Guid UserId { get; set; }
  17. public byte[]? Sid { get; set; }
  18. public int UserType { get; set; }
  19. public int AuthType { get; set; }
  20. public string? UserName { get; set; }
  21. public virtual ICollection<Catalog> CatalogCreatedBies { get; set; }
  22. public virtual ICollection<Catalog> CatalogModifiedBies { get; set; }
  23. public virtual ICollection<PolicyUserRole> PolicyUserRoles { get; set; }
  24. public virtual ICollection<Schedule> Schedules { get; set; }
  25. public virtual ICollection<Subscription> SubscriptionModifiedBies { get; set; }
  26. public virtual ICollection<Subscription> SubscriptionOwners { get; set; }
  27. }
  28. }