// Migration DTOs using System; using Volo.Abp.Application.Dtos; namespace Kurs.Platform.DeveloperKit; public class ApiMigrationDto : AuditedEntityDto { public Guid EntityId { get; set; } public string EntityName { get; set; } = string.Empty; public string FileName { get; set; } = string.Empty; public string SqlScript { get; set; } = string.Empty; public string Status { get; set; } = "pending"; // "pending" | "applied" | "failed" public DateTime? AppliedAt { get; set; } public string? ErrorMessage { get; set; } } public class CreateUpdateApiMigrationDto { public Guid EntityId { get; set; } public string EntityName { get; set; } = string.Empty; public string FileName { get; set; } = string.Empty; public string SqlScript { get; set; } = string.Empty; public string Status { get; set; } = "pending"; public DateTime? AppliedAt { get; set; } public string? ErrorMessage { get; set; } }