erp-platform/api/src/Erp.Platform.Application.Contracts/DeveloperKit/CrudMigrationDto.cs
2025-11-14 15:44:59 +03:00

28 lines
962 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Migration DTOs
using System;
using Volo.Abp.Application.Dtos;
namespace Erp.Platform.DeveloperKit;
public class CrudMigrationDto : AuditedEntityDto<Guid>
{
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; } = "Askıda"; // "pending" | "applied" | "failed"
public DateTime? AppliedAt { get; set; }
public string? ErrorMessage { get; set; }
}
public class CreateUpdateCrudMigrationDto
{
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; } = "Askıda";
public DateTime? AppliedAt { get; set; }
public string? ErrorMessage { get; set; }
}