using Grand.Domain.Catalog;
using Grand.Infrastructure.Models;

namespace Grand.Web.Models.Common;

public class AddressAttributeModel : BaseEntityModel
{
    public string Name { get; set; }

    public bool IsRequired { get; set; }

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

    public AttributeControlType AttributeControlType { get; set; }

    public IList<AddressAttributeValueModel> Values { get; set; } = new List<AddressAttributeValueModel>();
}

public class AddressAttributeValueModel : BaseEntityModel
{
    public string Name { get; set; }

    public bool IsPreSelected { get; set; }
}