Client.cs 459 B

1234567891011121314151617
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace API_sm.ModelBase
  4. {
  5. [Table("client")]
  6. public class Client
  7. {
  8. [Key]
  9. public int ID { get; set; }
  10. public string Name { get; set; }
  11. public string Surname { get; set; }
  12. public string Patronymic { get; set; }
  13. public string Address { get; set; }
  14. public string Number { get; set; }
  15. }
  16. }