2022-07-04 11:14:24 +02:00
|
|
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU Affero General Public License as
|
|
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU Affero General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
|
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
|
|
//
|
|
|
|
|
2023-03-07 12:40:02 +01:00
|
|
|
|
2022-06-10 18:11:38 +02:00
|
|
|
namespace Wonky.Entity.DTO;
|
|
|
|
|
2023-03-19 10:05:44 +01:00
|
|
|
public class ReportFiguresDto
|
2022-06-10 18:11:38 +02:00
|
|
|
{
|
2022-07-01 10:02:29 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Sales day number
|
|
|
|
/// </summary>
|
2022-07-01 17:32:20 +02:00
|
|
|
public int SalesDayCount { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Distance today
|
|
|
|
/// </summary>
|
2022-06-12 18:20:19 +02:00
|
|
|
public int Distance { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Distance private (for company cars)
|
|
|
|
/// </summary>
|
2022-06-12 18:20:19 +02:00
|
|
|
public int DistancePrivate { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Odometer value evening
|
|
|
|
/// </summary>
|
2022-06-14 19:00:21 +02:00
|
|
|
public int KmEvening { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Odometer value morning
|
|
|
|
/// </summary>
|
2022-06-14 19:00:21 +02:00
|
|
|
public int KmMorning { get; set; }
|
2022-06-12 18:20:19 +02:00
|
|
|
|
2022-07-01 10:02:29 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Counter for new visits
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int NewVisitCount { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for product demonstration at new visit
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int NewDemoCount { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for product sale at new visit
|
|
|
|
/// </summary>
|
|
|
|
public int NewSaleCount { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for recall visits
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int RecallVisitCount { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for product demonstration at recall visit
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int RecallDemoCount { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for product sale at recall visit
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int RecallSaleCount { get; set; }
|
2022-06-14 19:00:21 +02:00
|
|
|
|
2022-07-01 10:02:29 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Counter for total number of visits for workday
|
|
|
|
/// </summary>
|
2022-06-14 19:00:21 +02:00
|
|
|
public int TotalVisitCount { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for total number of product demonstration
|
|
|
|
/// </summary>
|
2022-06-14 19:00:21 +02:00
|
|
|
public int TotalDemoCount { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Count for total number of product sale
|
|
|
|
/// </summary>
|
2022-06-14 19:00:21 +02:00
|
|
|
public int TotalSaleCount { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for the number of safe seal sale
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int SasCount { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Turnover for new sale
|
|
|
|
/// </summary>
|
2022-06-12 18:20:19 +02:00
|
|
|
public decimal NewTurnover { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Turnover for recall sale
|
|
|
|
/// </summary>
|
2022-06-12 18:20:19 +02:00
|
|
|
public decimal RecallTurnover { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Turnover for safe seal sale
|
|
|
|
/// </summary>
|
2022-06-12 18:20:19 +02:00
|
|
|
public decimal SasTurnover { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Total turnover for work day
|
|
|
|
/// </summary>
|
2022-06-12 18:20:19 +02:00
|
|
|
public decimal TotalTurnover { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Total distance for month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int DistanceMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Total private distance for month (company cars)
|
|
|
|
/// </summary>
|
2022-06-12 18:20:19 +02:00
|
|
|
public int DistancePrivateMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for new visits month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int NewVisitCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for product demonstration at new visit month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int NewDemoCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for product sale at new visit month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int NewSaleCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for recall visit month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int RecallVisitCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for product demonstration at recall visit month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int RecallDemoCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for product sale at recall visit month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int RecallSaleCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for total number of visit month
|
|
|
|
/// </summary>
|
2022-06-14 19:00:21 +02:00
|
|
|
public int TotalVisitCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for total number of product demo month
|
|
|
|
/// </summary>
|
2022-06-14 19:00:21 +02:00
|
|
|
public int TotalDemoCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for total number of product sale month
|
|
|
|
/// </summary>
|
2022-06-14 19:00:21 +02:00
|
|
|
public int TotalSaleCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Counter for total number safe seal sale month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public int SasCountMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Turnover total for new sale month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public decimal NewTurnoverMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Turnover total for recall sale month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public decimal RecallTurnoverMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Turnover total for safe seal sale month
|
|
|
|
/// </summary>
|
2022-06-10 18:11:38 +02:00
|
|
|
public decimal SasTurnoverMonth { get; set; }
|
2022-07-01 10:02:29 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Turnover total for all sale month
|
|
|
|
/// </summary>
|
2022-06-14 19:00:21 +02:00
|
|
|
public decimal TotalTurnoverMonth { get; set; }
|
2022-06-10 18:11:38 +02:00
|
|
|
}
|