29 lines
976 B
C#
29 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;
|
|||
|
|
}
|
|||
|
|
|