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

View file

@ -1,31 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace Wonky.Entity.DTO;
public class SalesReportDto
{
[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 int Distance { get; set; }
public int 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; }
}