27 lines
730 B
C#
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;
|
|
}
|
|
}
|
|
}
|