24 lines
835 B
C#
24 lines
835 B
C#
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
|
|
}
|