33 lines
1.4 KiB
C#
33 lines
1.4 KiB
C#
using Nop.Web.Framework.Models;
|
|
using Nop.Web.Framework.Mvc.ModelBinding;
|
|
|
|
namespace Nop.Plugin.Tax.FixedOrByCountryStateZip.Models;
|
|
|
|
public record CountryStateZipModel : BaseNopEntityModel
|
|
{
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Store")]
|
|
public int StoreId { get; set; }
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Store")]
|
|
public string StoreName { get; set; }
|
|
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.TaxCategory")]
|
|
public int TaxCategoryId { get; set; }
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.TaxCategory")]
|
|
public string TaxCategoryName { get; set; }
|
|
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Country")]
|
|
public int CountryId { get; set; }
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Country")]
|
|
public string CountryName { get; set; }
|
|
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.StateProvince")]
|
|
public int StateProvinceId { get; set; }
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.StateProvince")]
|
|
public string StateProvinceName { get; set; }
|
|
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Zip")]
|
|
public string Zip { get; set; }
|
|
|
|
[NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Percentage")]
|
|
public decimal Percentage { get; set; }
|
|
} |