erp-platform/api/src/Kurs.Platform.Application.Contracts/Reports/GeneratedReportDto.cs
2025-08-15 15:21:22 +03:00

27 lines
730 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
namespace Kurs.Platform.Reports
{
public class GeneratedReportDto : FullAuditedEntityDto<Guid>
{
public Guid? TemplateId { get; set; }
[Required]
public string TemplateName { get; set; }
[Required]
public string GeneratedContent { get; set; }
public Dictionary<string, string> Parameters { get; set; }
public DateTime GeneratedAt { get; set; }
public ReportTemplateDto Template { get; set; }
public GeneratedReportDto()
{
Parameters = [];
GeneratedAt = DateTime.UtcNow;
}
}
}