namespace AmpDAL.DTO.ApiOperation; public class ApiOperationDTO { public int ApiOperationId { get; set; } public int TenantId { get; set; } public int ApiId { get; set; } public int ApiInterfaceId { get; set; } public string OperationKey { get; set; } = string.Empty; public string HttpMethod { get; set; } = string.Empty; public string? RelativePath { get; set; } public string? Summary { 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 ApiOperationSaveDTO { public int ApiOperationId { get; set; } public int TenantId { get; set; } public int ApiId { get; set; } public int ApiInterfaceId { get; set; } public string OperationKey { get; set; } = string.Empty; public string HttpMethod { get; set; } = string.Empty; public string? RelativePath { get; set; } public string? Summary { 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; } }