Initial commit - ERP
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
namespace Commerce.Contracts.DTOs;
|
||||
|
||||
public class CategoryVM
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public string[]? Photos { get; set; }
|
||||
public Guid? ParentCategoryId { get; set; }
|
||||
public ICollection<CategoryVM>? ChildCategories { get; set; }
|
||||
public bool IsBundle { get; set; }
|
||||
|
||||
public List<CategoryTranslationVM> Translations { get; set; } = new();
|
||||
}
|
||||
|
||||
public class CategoryTranslationVM
|
||||
{
|
||||
public string Language { get; set; } = string.Empty;
|
||||
public CategoryInfoVM Info { get; set; } = new();
|
||||
}
|
||||
|
||||
public class CategoryInfoVM
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public List<TechnicalDetailVM> TechnicalDetails { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user