using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Volo.Abp.Domain.Entities.Auditing; namespace Kurs.Platform.Entities { public class ReportTemplate : FullAuditedAggregateRoot { [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 string Tags { get; set; } // JSON string array // Navigation property public virtual ICollection Parameters { get; set; } public ReportTemplate() { Parameters = new List(); } public ReportTemplate( Guid id, string name, string description, string htmlContent, string category = "Genel" ) : base(id) { Name = name; Description = description; HtmlContent = htmlContent; Category = category; Parameters = new List(); } } }