Wonky.Client/Wonky.Entity/DTO/SalesReportDto.cs
Frede Hundewadt c61f330e50 wip
2022-05-29 10:36:12 +02:00

31 lines
1 KiB
C#

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; }
}