Initial commit - ERP

This commit is contained in:
2026-08-05 21:15:15 +03:00
commit 3908155685
1203 changed files with 85576 additions and 0 deletions
@@ -0,0 +1,38 @@
namespace Commerce.Contracts.DTOs;
public class ProductVM
{
public Guid? Id { get; set; }
public string[]? Photos { get; set; }
public double? Price { get; set; }
public double? Discount { get; set; }
public DateTime? Created { get; set; }
public string? CodeName { get; set; }
public string? CategoryName { get; set; }
public bool IsBundle { get; set; }
public ICollection<ProductVM>? ChildProducts { get; set; }
public Guid? CategoryId { get; set; }
public Guid? ParentCategoryId { get; set; }
public ICollection<CategoryVM>? ChildCategories { get; set; }
public List<ProductTranslationVM>? Translations { get; set; } = new();
}
public class ProductTranslationVM
{
public string Language { get; set; } = string.Empty;
public ProductInfoVM Info { get; set; } = new();
}
public class ProductInfoVM
{
public string Name { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public List<TechnicalDetailVM> TechnicalDetails { get; set; } = new();
}
public class TechnicalDetailVM
{
public string Key { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
}