// 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] // namespace Wonky.Entity.Views; public class ReportDataView { public string ReportId { get; set; } = ""; public string ErpUserId { get; set; } = ""; public string Name { get; set; } = ""; public string SupervisedBy { get; set; } = ""; public string Description { get; set; } = ""; public string DayTypeEnum { get; set; } = ""; public string ReportDate { get; set; } = ""; public string FromDateTime { get; set; } = ""; public string ToDateTime { get; set; } = ""; public bool Closed { get; set; } public int SalesDayNumber { get; set; } // workday public int NewVisitCount { get; set; } public int RecallVisitCount { get; set; } public int NewDemoCount { get; set; } public int RecallDemoCount { get; set; } public int NewSaleCount { get; set; } public int RecallSaleCount { get; set; } public int TotalVisitCount { get; set; } public int TotalDemoCount { get; set; } public int TotalSaleCount { get; set; } public int SasCount { get; set; } // workday turnover public decimal NewTurnover { get; set; } public decimal RecallTurnover { get; set; } public decimal SasTurnover { get; set; } public decimal TotalTurnover { get; set; } // workday distance ledger public int KmEvening { get; set; } public int KmMorning { get; set; } public int Distance { get; set; } public int DistancePrivate { get; set; } // month summaries public int DistanceMonth { get; set; } public int DistancePrivateMonth { get; set; } public int NewVisitCountMonth { get; set; } public int NewDemoCountMonth { get; set; } public int NewSaleCountMonth { get; set; } public int RecallVisitCountMonth { get; set; } public int RecallDemoCountMonth { get; set; } public int RecallSaleCountMonth { get; set; } public int TotalVisitCountMonth { get; set; } public int TotalDemoCountMonth { get; set; } public int TotalSaleCountMonth { get; set; } public int SasCountMonth { get; set; } // month turnover public decimal NewTurnoverMonth { get; set; } public decimal RecallTurnoverMonth { get; set; } public decimal SasTurnoverMonth { get; set; } public decimal TotalTurnoverMonth { get; set; } }