using System.Text.Json.Serialization; namespace Nop.Plugin.Misc.FruitBankPlugin.Models; /// /// One selectable license plate (rendszám) in a customer's plate list, stored as JSON /// in the customerLicensePlates generic attribute. Extensible with per-plate /// fields (e.g. Note) later. One entry may be the default, auto-assigned to new orders. /// public class CustomerLicensePlateEntry { [JsonPropertyName("plate")] public string Plate { get; set; } = string.Empty; [JsonPropertyName("isDefault")] public bool IsDefault { get; set; } [JsonPropertyName("note")] public string? Note { get; set; } }