29 lines
1 KiB
C#
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; }
|
|
}
|