namespace MiGu.Server.Configs; public record EndpointDescriptor(string Id, string Name, string Url, bool Enabled); public record ExternalIntegrations( List Mes, List Wms, List Rcs, List Ptl) { public static ExternalIntegrations Default() => new( Mes: new List { new("mes-1", "MES 主线", "http://mes.lan/api", true) }, Wms: new List { new("wms-1", "WMS 仓储", "http://wms.lan/api", true) }, Rcs: new List(), Ptl: new List { new("ptl-1", "PTL 拣选", "http://ptl.lan/api", true) }); }