erp-platform/api/src/Kurs.Platform.Application.Contracts/DeveloperKit/ApiEndpointDto.cs
Sedat Öztürk 81ced25160 Düzenleme
2025-08-11 00:49:52 +03:00

29 lines
1 KiB
C#

using System;
using Volo.Abp.Application.Dtos;
namespace Kurs.Platform.DeveloperKit;
public class ApiEndpointDto : FullAuditedEntityDto<Guid>
{
public string EntityName { get; set; } = string.Empty;
public string Method { get; set; } = string.Empty;
public string Path { get; set; } = string.Empty;
public string OperationType { get; set; } = string.Empty;
public string CsharpCode { get; set; } = string.Empty;
public bool IsActive { get; set; } = true;
public Guid EntityId { get; set; }
// Navigation property for display purposes
public string? EntityDisplayName { get; set; }
}
public class CreateUpdateApiEndpointDto
{
public string EntityName { get; set; } = string.Empty;
public string Method { get; set; } = string.Empty;
public string Path { get; set; } = string.Empty;
public string OperationType { get; set; } = string.Empty;
public string CsharpCode { get; set; } = string.Empty;
public bool IsActive { get; set; } = true;
public Guid EntityId { get; set; }
}