Files
amrez-nova-eop-services-api/AMREZ.EOP.Domain/Entities/MasterData/Category.cs
Thanakarn Klangkasame d4ab1cb592 Add Master Data
2025-10-10 16:22:06 +07:00

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; }
}