Add Master Data
This commit is contained in:
26
AMREZ.EOP.Domain/Entities/MasterData/Category.cs
Normal file
26
AMREZ.EOP.Domain/Entities/MasterData/Category.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user