erp-platform/api/src/Kurs.Platform.Application.Contracts/DeveloperKit/CustomComponentDto.cs

25 lines
835 B
C#
Raw Normal View History

2025-08-10 21:39:45 +00:00
using System;
using Volo.Abp.Application.Dtos;
namespace Kurs.Platform.DeveloperKit;
public class CustomComponentDto : FullAuditedEntityDto<Guid>
{
public string Name { get; set; } = string.Empty;
public string Code { get; set; } = string.Empty;
public string? Props { get; set; }
public string? Description { get; set; }
public bool IsActive { get; set; } = true;
public string? Dependencies { get; set; } // JSON string of component names
}
public class CreateUpdateCustomComponentDto
{
public string Name { get; set; } = string.Empty;
public string Code { get; set; } = string.Empty;
public string? Props { get; set; }
public string? Description { get; set; }
public bool IsActive { get; set; } = true;
public string? Dependencies { get; set; } // JSON string of component names
}