Users.cs 794 B

1234567891011121314151617181920212223242526272829
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using System.Runtime.Serialization;
  4. using System.Text.Json.Serialization;
  5. namespace API_development
  6. {
  7. [Table ("Users")]
  8. public class Users
  9. {
  10. [Key]
  11. public int idUsers { get; set; }
  12. [Column ("lastName")]
  13. public string lastName { get; set; }
  14. [Column("firstName")]
  15. public string firstName { get; set; }
  16. [Column("middleName")]
  17. public string middleName { get; set; }
  18. [Column("dateBirthday")]
  19. public System.DateTime dateBirthday { get; set; }
  20. [Column("login")]
  21. public string login { get; set; }
  22. [Column("password")]
  23. public int password { get; set; }
  24. }
  25. }