sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/DeveloperKit/CustomComponentDto.cs

26 lines
842 B
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
using System;
using Volo.Abp.Application.Dtos;
namespace Sozsoft.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
}