//using AyCode.Core.Consts;
//using Mango.Nop.Core;
namespace Nop.Plugin.Misc.FruitBankPlugin
{
//public class FruitBankConst : NopCommonConst
//{
// public static string ProjectIdString = "f9f9383f-c459-4b9f-b0b5-201bd4a9c21b";
// public const string RequiresMeasurementAttr = "PriceByMeasurement.RequiresMeasurement";
// static FruitBankConst()
// {
// ProjectId = Guid.Parse(ProjectIdString);
// ProjectSalt = GenerateProjectSalt(ProjectId.ToString("N"));
// }
//}
public static class FruitBankPluginConst
{
///
/// PreOrders whose DateOfReceipt is further than this many days in the future
/// are NOT converted at the current conversion run.
/// Based on the bi-weekly truck cycle (~3-4 days between arrivals):
/// if delivery is more than 4 days away, the next truck will arrive before
/// that delivery date, and its document processing will be the correct trigger.
///
public const int PreOrderConversionWindowDays = 4;
// ── Customer generic-attribute keys (store-agnostic, StoreId 0) ──────────
/// Bool flag: the customer is subject to EKÁER reporting.
public const string IsEkaerAttribute = "isEkaer";
/// JSON list of the customer's site (telephely) addresses — see CustomerSiteEntry.
public const string CustomerSitesAttribute = "customerSites";
/// JSON list of the customer's selectable license plates — see CustomerLicensePlateEntry.
public const string CustomerLicensePlatesAttribute = "customerLicensePlates";
// ── Order generic-attribute keys (KeyGroup "Order", StoreId 0) ───────────
// MUST match the IOrderDto/OrderDto property names (the DTO reads them by nameof).
/// JSON snapshot of the order's site (telephely) — see FruitBank.Common OrderSiteSnapshot.
public const string OrderSiteAttribute = "Site";
/// License plate (rendszám) of the vehicle picking up the order. Raw; the NAV mapper normalizes.
public const string OrderLicensePlateAttribute = "LicensePlate";
}
}