|
|
|
@ -1,13 +1,22 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using JetBrains.Annotations; |
|
|
|
using Volo.Abp.Application.Dtos; |
|
|
|
|
|
|
|
namespace EasyAbp.EShop.Products.Categories.Dtos |
|
|
|
{ |
|
|
|
public class CategoryDto : FullAuditedEntityDto<Guid> |
|
|
|
{ |
|
|
|
public Guid? ParentCategoryId { get; set; } |
|
|
|
|
|
|
|
public string DisplayName { get; set; } |
|
|
|
|
|
|
|
[NotNull] |
|
|
|
public string Code { get; set; } |
|
|
|
|
|
|
|
public int Level { get; set; } |
|
|
|
|
|
|
|
public Guid? ParentId { get; set; } |
|
|
|
|
|
|
|
public ICollection<CategoryDto> Children { get; set; } |
|
|
|
|
|
|
|
public string Description { get; set; } |
|
|
|
|
|
|
|
|