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.

902 B
Raw Blame
using Grand.Infrastructure.Validators;
using Grand.Module.Api.Models;

namespace Grand.Module.Api.DTOs.Customers;

public class VendorDto : BaseApiEntityModel
{
    public string Name { get; set; }
    public string SeName { get; set; }
    public string PictureId { get; set; }
    public string Email { get; set; }
    [SanitizeHtml]
    public string Description { get; set; }
    public string StoreId { get; set; }
    [NoHtml]
    public string AdminComment { get; set; }
    public bool Active { get; set; }
    public bool Deleted { get; set; }
    public int DisplayOrder { get; set; }
    public bool AllowCustomerReviews { get; set; }
    public int ApprovedRatingSum { get; set; }
    public int NotApprovedRatingSum { get; set; }
    public int ApprovedTotalReviews { get; set; }
    public int NotApprovedTotalReviews { get; set; }
    public virtual AddressDto Address { get; set; }
}