28 lines
962 B
C#
28 lines
962 B
C#
// 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; }
|
||
}
|
||
|