ReportingPeriod.cs 390 B

123456789101112131415
  1. using System.ComponentModel.DataAnnotations;
  2. namespace OnlineMetodist.API.Models
  3. {
  4. public class ReportingPeriod
  5. {
  6. [Display(Name = "Id")]
  7. public Guid Id { get; set; }
  8. [Required]
  9. [Display(Name = "Дата отчетного периода")]
  10. [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
  11. public DateOnly DateOfReport { get; set; }
  12. }
  13. }