using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Kurs.Platform.Reports { public class CreateReportTemplateDto { [Required] [StringLength(256)] public string Name { get; set; } [StringLength(1000)] public string Description { get; set; } [Required] public string HtmlContent { get; set; } [StringLength(100)] public string Category { get; set; } public List Tags { get; set; } public List Parameters { get; set; } public CreateReportTemplateDto() { Tags = new List(); Parameters = new List(); } } public class CreateReportParameterDto { [Required] [StringLength(100)] public string Name { get; set; } [StringLength(200)] public string Placeholder { get; set; } public ReportParameterType Type { get; set; } [StringLength(500)] public string DefaultValue { get; set; } public bool Required { get; set; } [StringLength(1000)] public string Description { get; set; } } }