Training.cs 349 B

1234567891011121314
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace ApiMobileBelov.ModelBase
  4. {
  5. [Table("Training")]
  6. public class Training
  7. {
  8. [Key]
  9. public int IdTraining { get; set; }
  10. public string? Name { get; set; }
  11. public int DurationInMin { get; set; }
  12. }
  13. }