UsersTable.cs 754 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. namespace AvaloniaHomeTry.Models;
  4. public partial class UsersTable
  5. {
  6. public int Id { get; set; }
  7. public string Login { get; set; } = null!;
  8. public string Password { get; set; } = null!;
  9. public string? Surname { get; set; }
  10. public string? Firstname { get; set; }
  11. public string? Patronymic { get; set; }
  12. public DateTime? Dataofbirth { get; set; }
  13. public int? IdGender { get; set; }
  14. public int? IdRole { get; set; }
  15. public byte[]? Image { get; set; }
  16. public virtual Gender? GenderNavigation { get; set; }
  17. public virtual RolesTable? RoleNavigation { get; set; }
  18. public virtual ICollection<Trait> IdTraits { get; set; } = new List<Trait>();
  19. }