Wonky.Client/Wonky.Entity/Views/ReportItemView.cs

116 lines
3.5 KiB
C#
Raw Normal View History

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]
//
2022-07-01 17:32:20 +02:00
namespace Wonky.Entity.Views;
2022-07-01 10:02:29 +02:00
2022-07-02 16:15:28 +02:00
public class ReportItemView
2022-07-01 10:02:29 +02:00
{
/// <summary>
2022-07-02 16:15:28 +02:00
/// Customer company info
2022-07-01 10:02:29 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public ReportItemCustomer Company { get; set; } = new();
2022-07-01 17:32:20 +02:00
/// <summary>
2022-07-02 16:15:28 +02:00
/// Lines
2022-07-01 17:32:20 +02:00
/// </summary>
2022-07-02 19:24:57 +02:00
public List<ReportItemLine> Lines { get; set; } = new();
2022-09-29 16:19:10 +02:00
/// <summary>
/// entity id for sales rep
/// </summary>
public string SalesRepId { get; set; } = "";
2022-09-06 12:28:44 +02:00
/// <summary>
/// Activity entity id
/// </summary>
public string ActivityId { get; set; } = "";
2022-07-01 10:02:29 +02:00
/// <summary>
2022-09-08 08:50:23 +02:00
/// Entity CreateTimestamp as string
/// </summary>
public string CreateTimestamp { get; set; } = "";
/// <summary>
2022-07-02 16:15:28 +02:00
/// Closed sale
/// </summary>
public bool Closed { get; set; }
2022-08-15 06:35:15 +02:00
/// <summary>
2022-08-30 15:21:39 +02:00
/// ProcessStatus as string
/// </summary>
public string ProcessStatusEnum { get; set; } = "";
/// <summary>
2022-08-15 06:35:15 +02:00
/// express flag
/// </summary>
public bool Express { get; set; }
2022-07-03 20:38:24 +02:00
/// <summary>
/// ESales number
/// </summary>
public string ESalesNumber { get; set; } = "";
2022-07-02 16:15:28 +02:00
/// <summary>
/// Order amount
2022-07-01 10:02:29 +02:00
/// </summary>
public decimal OrderAmount { get; set; }
/// <summary>
2022-07-02 16:15:28 +02:00
/// Order safe seal amount
2022-07-01 10:02:29 +02:00
/// </summary>
public decimal SasAmount { get; set; }
/// <summary>
2022-07-02 16:15:28 +02:00
/// Order date
2022-07-01 10:02:29 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public string OrderDate { get; set; } = "";
2022-07-01 10:02:29 +02:00
/// <summary>
2022-07-02 16:15:28 +02:00
/// Office note
2022-07-01 10:02:29 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public string OfficeNote { get; set; } = "";
2022-07-01 10:02:29 +02:00
/// <summary>
2022-07-02 16:15:28 +02:00
/// Product demo
2022-07-01 10:02:29 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public string Demo { get; set; } = "";
2022-07-01 10:02:29 +02:00
/// <summary>
2022-07-02 16:15:28 +02:00
/// Product sale resume
2022-07-01 10:02:29 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public string Sales { get; set; } = "";
2022-07-01 10:02:29 +02:00
/// <summary>
2022-07-02 16:15:28 +02:00
/// Our reference
2022-07-01 10:02:29 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public string OurRef { get; set; } = "";
2022-07-01 10:02:29 +02:00
/// <summary>
2022-07-02 16:15:28 +02:00
/// Customer reference
2022-07-01 10:02:29 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public string YourRef { get; set; } = "";
2022-07-01 17:32:20 +02:00
/// <summary>
2022-07-02 16:15:28 +02:00
/// Customer reference number
2022-07-01 17:32:20 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public string ReferenceNumber { get; set; } = "";
2022-07-01 10:02:29 +02:00
/// <summary>
2022-07-02 16:15:28 +02:00
/// Visit type enum as string
2022-07-01 10:02:29 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public string VisitTypeEnum { get; set; } = "";
2022-07-01 10:02:29 +02:00
/// <summary>
2022-07-02 16:15:28 +02:00
/// Status type enum as string
2022-07-01 10:02:29 +02:00
/// </summary>
2022-07-02 16:15:28 +02:00
public string StatusTypeEnum { get; set; } = "";
2022-07-02 19:24:57 +02:00
/// <summary>
/// Customer deliver name
/// </summary>
public string DlvName { get; set; } = "";
/// <summary>
/// Customer delivery address line 1
/// </summary>
public string DlvAddress1 { get; set; } = "";
/// <summary>
/// Customer delivery address line 2
/// </summary>
public string DlvAddress2 { get; set; } = "";
/// <summary>
/// Customer delivery post code and city name
/// </summary>
public string DlvZipCity { get; set; } = "";
2022-07-02 16:15:28 +02:00
}