Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

567 B
Raw Blame
using Grand.Module.Api.Models;

namespace Grand.Module.Api.DTOs.Catalog;

public class SpecificationAttributeDto : BaseApiEntityModel
{
    public string Name { get; set; }
    public int DisplayOrder { get; set; }

    public IList<SpecificationAttributeOptionDto> SpecificationAttributeOptions { get; set; } =
        new List<SpecificationAttributeOptionDto>();
}

public class SpecificationAttributeOptionDto : BaseApiEntityModel
{
    public string Name { get; set; }
    public int DisplayOrder { get; set; }
    public string ColorSquaresRgb { get; set; }
}