This commit is contained in:
Frede Hundewadt 2022-05-29 20:50:22 +02:00
parent 864984784d
commit e6e717d2f4

View file

@ -0,0 +1,31 @@
using System.ComponentModel.DataAnnotations;
namespace Wonky.Entity.DTO;
public class ActivityReportDto
{
[Required(ErrorMessage = "Dato skal angives")] public string ActivityDate { get; set; } = "";
[Required(ErrorMessage = "Dagtype skal angives")]public string DayTypeEnum { get; set; } = "";
[MaxLength(128, ErrorMessage = "Du kan højst bruge 128 tegn")]public string Comment { get; set; } = "";
//
public long KmMorning { get; set; }
public long KmEvening { get; set; }
public long Distance { get; set; }
public long DistancePrivate { get; set; }
//
public int VisitNewCount { get; set; }
public int VisitRecallCount { get; set; }
public int DemoNewCount { get; set; }
public int DemoRecallCount { get; set; }
public int SalesNewCount { get; set; }
public int SalesRecallCount { get; set; }
public int SasCount { get; set; }
//
public decimal SumSalesDay { get; set; }
public decimal SumSasDay { get; set; }
public decimal SumTotalDay { get; set; }
}