namespace AmpDAL.DTO.ApiInterface; public class ApiInterfaceDTO { public int ApiInterfaceId { get; set; } public int TenantId { get; set; } public int ApiId { get; set; } public int ApiVersionId { get; set; } public byte InterfaceType { get; set; } public string? InterfaceName { get; set; } // ✅ ADDED public byte SpecType { get; set; } // ✅ ADDED public byte Method { get; set; } // ✅ ADDED public string? ApiPath { get; set; } // ✅ ADDED public string? InterfaceDescription { get; set; } // ✅ ADDED public string? SpecLocation { get; set; } public string? ContentHash { get; set; } public byte ParsedSuccessfully { get; set; } // ✅ FIXED (was bool) public DateTime? LastParsedAt { get; set; } public string? Source { get; set; } public string? Remarks { get; set; } public short SortOrder { get; set; } public byte Status { get; set; } public short Version { get; set; } public byte SourceType { get; set; } public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } } public class ApiInterfaceSaveDTO { public int ApiInterfaceId { get; set; } public int TenantId { get; set; } public int ApiId { get; set; } public int ApiVersionId { get; set; } public byte InterfaceType { get; set; } public string InterfaceName { get; set; } = string.Empty; // ✅ ADDED public byte SpecType { get; set; } // ✅ ADDED public byte Method { get; set; } // ✅ ADDED public string? ApiPath { get; set; } // ✅ ADDED public string? InterfaceDescription { get; set; } // ✅ ADDED public string? SpecLocation { get; set; } public string? ContentHash { get; set; } public byte ParsedSuccessfully { get; set; } // ✅ FIXED public DateTime? LastParsedAt { get; set; } public string? Source { get; set; } public string? Remarks { get; set; } public short SortOrder { get; set; } public byte Status { get; set; } public short Version { get; set; } public byte SourceType { get; set; } public int CreatedById { get; set; } public int ModifiedById { get; set; } public DateTime CreatedOn { get; set; } public DateTime ModifiedOn { get; set; } }