using System.Text.Json.Serialization; namespace Nop.Plugin.Misc.FruitBankPlugin.Models; /// /// One entry in a customer's site (telephely) list, stored as JSON in the /// customerSites generic attribute. References an existing customer /// Address by id; extensible with per-site fields (e.g. Note) later. /// public class CustomerSiteEntry { [JsonPropertyName("addressId")] public int AddressId { get; set; } [JsonPropertyName("isDefault")] public bool IsDefault { get; set; } [JsonPropertyName("note")] public string? Note { get; set; } }