Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

VendorInfoModel.cs

using System.ComponentModel.DataAnnotations;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Models.Vendors;

public partial record VendorInfoModel : BaseNopModel
{
    public VendorInfoModel()
    {
        VendorAttributes = new List();
    }

    [NopResourceDisplayName("Account.VendorInfo.Name")]
    public string Name { get; set; }

    [DataType(DataType.EmailAddress)]
    [NopResourceDisplayName("Account.VendorInfo.Email")]
    public string Email { get; set; }

    [NopResourceDisplayName("Account.VendorInfo.Description")]
    public string Description { get; set; }

    [NopResourceDisplayName("Account.VendorInfo.Picture")]
    public string PictureUrl { get; set; }

    public IList VendorAttributes { get; set; }
}