26 lines
810 B
C#
26 lines
810 B
C#
namespace AMREZ.EOP.Domain.Entities.MasterData;
|
|
|
|
public class Category : MasterBase
|
|
{
|
|
public Guid? ParentId { get; set; }
|
|
public Category? Parent { get; set; }
|
|
public ICollection<Category> Children { get; set; } = new List<Category>();
|
|
public string? Path { get; set; }
|
|
public int SortOrder { get; set; } = 0;
|
|
}
|
|
|
|
public class CategoryBlock : MasterBlockBase
|
|
{
|
|
}
|
|
|
|
public class CategoryExt
|
|
{
|
|
public Guid CategoryId { get; set; }
|
|
public Category Category { get; set; } = null!;
|
|
public string? Slug { get; set; }
|
|
public string? SeoTitle { get; set; }
|
|
public string? SeoDescription { get; set; }
|
|
public string? ImageUrl { get; set; }
|
|
public Dictionary<string, object>? ChannelVisibility { get; set; }
|
|
public Dictionary<string, object>? FacetSchema { get; set; }
|
|
} |