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

26 lines
838 B
C#
Raw Normal View History

2025-11-11 19:49:52 +00:00
using System;
2025-08-11 06:34:44 +00:00
using Volo.Abp.Application.Dtos;
2025-11-11 19:49:52 +00:00
namespace Erp.Platform.DeveloperKit;
2025-08-11 06:34:44 +00:00
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
}
2025-11-11 19:49:52 +00:00