AidopInventoryOptions.cs 813 B

12345678910111213141516171819
  1. using Furion.ConfigurableOptions;
  2. namespace Admin.NET.Plugin.AiDOP;
  3. /// <summary>S5 库存口径收敛配置。配置节 <c>AiDOP:Inventory</c>。</summary>
  4. [OptionsSettings("AiDOP:Inventory")]
  5. public sealed class AidopInventoryOptions : IConfigurableOptions
  6. {
  7. public string SourceCode { get; set; } = "DOPDEMORQ_SQLSERVER";
  8. /// <summary>LiveThenStd | StdOnly</summary>
  9. public string BalanceMode { get; set; } = "LiveThenStd";
  10. public int BatchSize { get; set; } = 500;
  11. public int StdMaxAgeMinutes { get; set; } = 90;
  12. public int LocationOverlapMinutes { get; set; } = 120;
  13. public int TransBootstrapMonths { get; set; } = 12;
  14. public int MaxPageSize { get; set; } = 200;
  15. public int LiveTimeoutSeconds { get; set; } = 5;
  16. public string DefaultDomain { get; set; } = "8010";
  17. }