Add Master Data

This commit is contained in:
Thanakarn Klangkasame
2025-10-10 16:22:06 +07:00
parent ad0d9e41ba
commit d4ab1cb592
55 changed files with 16058 additions and 197 deletions

View File

@@ -0,0 +1,26 @@
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; }
}