Webiant Logo Webiant Logo
  1. No results found.

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

AddressAttributeModel.cs

using Nop.Core.Domain.Catalog;
using Nop.Web.Framework.Models;

namespace Nop.Web.Models.Common;

public partial record AddressAttributeModel : BaseNopEntityModel
{
    public AddressAttributeModel()
    {
        Values = new List();
    }

    public string ControlId { get; set; }

    public string Name { get; set; }

    public bool IsRequired { get; set; }

    /// 
    /// Default value for textboxes
    /// 
    public string DefaultValue { get; set; }

    public AttributeControlType AttributeControlType { get; set; }

    public IList Values { get; set; }
}

public partial record AddressAttributeValueModel : BaseNopEntityModel
{
    public string Name { get; set; }

    public bool IsPreSelected { get; set; }
}