namespace AmpDAL.DTO.ApiSchema; public class ApiSchemaDTO { public int ApiSchemaId { get; set; } public int TenantId { get; set; } public int ApiId { get; set; } public int ApiInterfaceId { get; set; } public string ApiName { get; set; } = string.Empty; public string? SchemaJson { get; set; } // ✅ NEW FIELDS public string SchemaName { get; set; } = string.Empty; public string? SchemaDescription { get; set; } public byte SpecificationSource { get; set; } public string? SpecificationUrl { get; set; } public string? RequestJson { get; set; } public string? ResponseJson { 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 ApiSchemaSaveDTO { public int ApiSchemaId { get; set; } public int TenantId { get; set; } public int ApiId { get; set; } public int ApiInterfaceId { get; set; } public string ApiName { get; set; } = string.Empty; public string? SchemaJson { get; set; } // ✅ NEW FIELDS public string SchemaName { get; set; } = string.Empty; public string? SchemaDescription { get; set; } public byte SpecificationSource { get; set; } public string? SpecificationUrl { get; set; } public string? RequestJson { get; set; } public string? ResponseJson { 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; } }