sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/DeveloperKit/CrudEndpointDto.cs
2026-03-03 00:34:19 +03:00

28 lines
976 B
C#

using System;
using Volo.Abp.Application.Dtos;
namespace Sozsoft.Platform.DeveloperKit;
public class CrudEndpointDto : 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;
// Navigation property for display purposes
public string? EntityDisplayName { get; set; }
}
public class CreateUpdateCrudEndpointDto
{
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;
}