Wonky.Client/Wonky.Entity/DTO/ReportInitDto.cs

38 lines
1.2 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
using Wonky.Entity.Views;
2022-06-14 19:00:21 +02:00
namespace Wonky.Entity.DTO;
2023-03-19 10:05:44 +01:00
public class ReportInitDto
2022-06-14 19:00:21 +02:00
{
2022-07-01 10:02:29 +02:00
/// <summary>
/// Flag to prevent activity to be added to report
/// </summary>
2022-07-02 16:15:28 +02:00
public bool ReportClosed { get; set; }
2023-03-18 16:01:22 +01:00
2022-07-01 10:02:29 +02:00
/// <summary>
/// Report figures
/// </summary>
2023-03-19 10:05:44 +01:00
public ReportFiguresDto ReportData { get; set; } = new();
2023-03-18 16:01:22 +01:00
2022-07-01 10:02:29 +02:00
/// <summary>
/// List of activities for report
/// </summary>
2023-03-18 16:01:22 +01:00
public List<ReportItemView> ReportItems { get; set; } = new();
2022-06-14 19:00:21 +02:00
}