namespace Win_in.Sfs.Wms.DataExchange.Iac.QadAgent; public class DataExchangeOptions { public IncomingOptions IncomingOptions { get; set; } public OutgoingOptions OutgoingOptions { get; set; } } public class IncomingOptions { public bool Active { get; set; } public int PeriodSeconds { get; set; } = 5 * 60; public int RetryTimes { get; set; } = 3; public int BatchSize { get; set; } = 100; } public class OutgoingOptions { public bool Active { get; set; } public int PeriodSeconds { get; set; } = 5 * 60; public int RetryTimes { get; set; } = 3; public int BatchSize { get; set; } = 100; public string BaseUrl { get; set; } = string.Empty; public string Username { get; set; } public string Password { get; set; } public Apis Apis { get; set; } } public class Apis { public Api Receipt { get; set; } public Api Return { get; set; } public Api Transfer { get; set; } public Api BackFlush { get; set; } public Api Rework { get; set; } public Api PreShipper { get; set; } public Api UnplannedReceipt { get; set; } public Api UnplannedDeliver { get; set; } public Api Count { get; set; } } public class Api { public string Url { get; set; } = ""; public bool Enabled { get; set; } }