erp-platform/api/modules/Erp.SqlQueryManager/Erp.SqlQueryManager.Application.Contracts/SqlStoredProcedureDto.cs

49 lines
1.5 KiB
C#
Raw Normal View History

2025-12-05 08:56:53 +00:00
using System;
using System.Collections.Generic;
using Erp.SqlQueryManager.Domain.Shared;
using Volo.Abp.Application.Dtos;
namespace Erp.SqlQueryManager.Application.Contracts;
public class SqlStoredProcedureDto : FullAuditedEntityDto<Guid>
{
public string ProcedureName { get; set; }
public string SchemaName { get; set; }
public string DisplayName { get; set; }
public string Description { get; set; }
public string ProcedureBody { get; set; }
public string DataSourceCode { get; set; }
public SqlQueryStatus Status { get; set; }
public string Category { get; set; }
public bool IsDeployed { get; set; }
public DateTime? LastDeployedAt { get; set; }
public string Parameters { get; set; }
}
public class CreateSqlStoredProcedureDto
{
public string ProcedureName { get; set; }
public string SchemaName { get; set; }
public string DisplayName { get; set; }
public string Description { get; set; }
public string ProcedureBody { get; set; }
public string DataSourceCode { get; set; }
public string Category { get; set; }
public string Parameters { get; set; }
}
public class UpdateSqlStoredProcedureDto
{
public string DisplayName { get; set; }
public string Description { get; set; }
public string ProcedureBody { get; set; }
public string Category { get; set; }
public string Parameters { get; set; }
}
public class DeployStoredProcedureDto
{
public Guid Id { get; set; }
public bool DropIfExists { get; set; }
}