Wonky.Client/Wonky.Entity/DTO/SalesReportDto.cs

32 lines
1 KiB
C#
Raw Normal View History

2022-05-29 10:36:12 +02:00
using System.ComponentModel.DataAnnotations;
2022-05-28 16:27:54 +02:00
namespace Wonky.Entity.DTO;
public class SalesReportDto
{
2022-05-29 10:36:12 +02:00
[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; } = "";
2022-05-28 16:27:54 +02:00
//
2022-05-29 10:36:12 +02:00
public long KmMorning { get; set; }
public long KmEvening { get; set; }
2022-05-28 16:27:54 +02:00
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; }
}