using System.ComponentModel.DataAnnotations; namespace Wonky.Entity.DTO; public class ActivityReportDto { [Required(ErrorMessage = "Dato skal angives")] public DateTime ActivityDate { get; set; } [Required(ErrorMessage = "Dagtype skal angives")] public string DayTypeEnum { get; set; } = ""; [MaxLength(100, ErrorMessage = "Du kan højst bruge 100 tegn")] public string SupervisedBy { get; set; } = ""; [MaxLength(1000, ErrorMessage = "Du kan højst bruge 1000 tegn")] public string Description { get; set; } = ""; // public DateTime CheckIn { get; set; } public DateTime CheckOut { get; set; } // workday public int VisitsNewCount { get; set; } public int VisitsRecallCount { get; set; } public int DemosNewCount { get; set; } public int DemosRecallCount { get; set; } public int SalesNewCount { get; set; } public int SalesRecallCount { get; set; } // workday turnover public decimal SalesTurnover { get; set; } public decimal SasTurnover { get; set; } public decimal TotalTurnover { get; set; } // workday distance ledger public long KmEvening { get; set; } public long KmMorning { get; set; } public int Distance { get; set; } public int DistancePrivate { get; set; } // month summaries public int DistanceMonth { get; set; } public int VisitsNewMonth { get; set; } public int VisitsRecallMonth { get; set; } public int DemosNewMonth { get; set; } public int DemosRecallMonth { get; set; } public int SalesNewMonth { get; set; } public int SalesRecallMonth { get; set; } // month turnover public decimal SalesTurnoverMonth { get; set; } public decimal SasTurnoverMonth { get; set; } public decimal TotalTurnoverMonth { get; set; } }