AdoS8OrderFlowDtos.cs 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. namespace Admin.NET.Plugin.AiDOP.Dto.S8.OrderFlow;
  2. /// <summary>
  3. /// ORDER-FLOW-S8-INTEGRATED-DOMAIN-RESET-1 t3a:S8 订单执行链路 DTO 契约。
  4. /// 仅定义类型,不携带业务常量 / 不引用 Entity / 不接 service 逻辑。
  5. /// 后续 t3b/t3c 切片负责 service + controller 把 DTO 接到 ado_s8_order_flow_* 与 ado_s8_exception 实时聚合。
  6. /// </summary>
  7. #region 订单档案
  8. public class AdoS8OrderFlowOrderQueryDto
  9. {
  10. public string? Keyword { get; set; }
  11. public string? CurrentFlowCode { get; set; }
  12. public string? CustomerCode { get; set; }
  13. public string? ProductLine { get; set; }
  14. public string? Region { get; set; }
  15. public string? WorkflowStatus { get; set; }
  16. public string? ScenarioCode { get; set; }
  17. }
  18. public class AdoS8OrderFlowOrderListItemDto
  19. {
  20. public string OrderCode { get; set; } = string.Empty;
  21. public string ProductName { get; set; } = string.Empty;
  22. public string ProductLine { get; set; } = string.Empty;
  23. public string CustomerCode { get; set; } = string.Empty;
  24. public string CustomerName { get; set; } = string.Empty;
  25. public string CustomerType { get; set; } = string.Empty;
  26. public string Region { get; set; } = string.Empty;
  27. public string Priority { get; set; } = string.Empty;
  28. public string WorkflowStatus { get; set; } = string.Empty;
  29. public string CurrentOrderFlowCode { get; set; } = string.Empty;
  30. public string CurrentOrderFlowName { get; set; } = string.Empty;
  31. public string CurrentStatus { get; set; } = string.Empty;
  32. public DateTime ReleaseAt { get; set; }
  33. public decimal TargetCycleDays { get; set; }
  34. public decimal? ActualCycleDays { get; set; }
  35. public decimal? CurrentCycleDays { get; set; }
  36. public decimal? NodeVarianceDays { get; set; }
  37. public decimal? CumulativeVarianceDays { get; set; }
  38. /// <summary>来自 ado_s8_exception 实时聚合(order 主档表无 exception_count 列)。</summary>
  39. public int ExceptionCount { get; set; }
  40. public string ExceptionStatus { get; set; } = string.Empty;
  41. public int? ResponseMinutes { get; set; }
  42. public int? ProcessingMinutes { get; set; }
  43. public int? TotalLossMinutes { get; set; }
  44. public string ScenarioCode { get; set; } = string.Empty;
  45. public string DataSource { get; set; } = string.Empty;
  46. }
  47. public class AdoS8OrderFlowOrderDetailDto : AdoS8OrderFlowOrderListItemDto
  48. {
  49. public List<AdoS8OrderFlowStageDto> Lifecycle { get; set; } = new();
  50. }
  51. #endregion
  52. #region 阶段 / L2 / L3
  53. public class AdoS8OrderFlowStageDto
  54. {
  55. public string OrderFlowCode { get; set; } = string.Empty;
  56. public string OrderFlowName { get; set; } = string.Empty;
  57. public string? OwnerDept { get; set; }
  58. public int SortNo { get; set; }
  59. public decimal PlannedDays { get; set; }
  60. public decimal? ActualDays { get; set; }
  61. public DateTime TargetAt { get; set; }
  62. public DateTime? ActualStartAt { get; set; }
  63. public DateTime? ActualEndAt { get; set; }
  64. public string Status { get; set; } = string.Empty;
  65. public decimal? NodeVarianceDays { get; set; }
  66. public decimal? CumulativeVarianceDays { get; set; }
  67. public List<AdoS8OrderFlowSubstepDto> Substeps { get; set; } = new();
  68. }
  69. public class AdoS8OrderFlowSubstepDto
  70. {
  71. public string SubstepCode { get; set; } = string.Empty;
  72. public string SubstepName { get; set; } = string.Empty;
  73. public decimal PiHours { get; set; }
  74. public decimal? ActualHours { get; set; }
  75. public string Status { get; set; } = string.Empty;
  76. public int SortNo { get; set; }
  77. public List<AdoS8OrderFlowSubstepUnitDto> Units { get; set; } = new();
  78. }
  79. public class AdoS8OrderFlowSubstepUnitDto
  80. {
  81. public string UnitCode { get; set; } = string.Empty;
  82. public string UnitName { get; set; } = string.Empty;
  83. public decimal PiHours { get; set; }
  84. public decimal? ActualHours { get; set; }
  85. public string Status { get; set; } = string.Empty;
  86. public int SortNo { get; set; }
  87. }
  88. #endregion
  89. #region 订单 + 采购透视组合
  90. public class AdoS8OrderFlowChainDto
  91. {
  92. public AdoS8OrderFlowOrderDetailDto Order { get; set; } = new();
  93. public AdoS8OrderFlowProcurementPivotDto? ProcurementPivot { get; set; }
  94. }
  95. #endregion
  96. #region 聚合 / Baseline
  97. public class AdoS8OrderFlowAggregateQueryDto
  98. {
  99. public string Scope { get; set; } = string.Empty;
  100. public List<string>? OrderCodes { get; set; }
  101. }
  102. public class AdoS8OrderFlowAggregateDto
  103. {
  104. public string Scope { get; set; } = string.Empty;
  105. public int TotalOrders { get; set; }
  106. public int TotalCustomers { get; set; }
  107. public decimal AvgResponseMinutes { get; set; }
  108. public decimal AvgProcessingMinutes { get; set; }
  109. public decimal AvgLossMinutes { get; set; }
  110. public List<AdoS8OrderFlowStageAggregateDto> StageAggregates { get; set; } = new();
  111. /// <summary>
  112. /// FINAL_ASSEMBLY_DELIVERY 末端协同聚合摘要(基线 / 当前两条路径均填充)。
  113. /// 派生自 ado_s8_exception 现有异常类型,不新增业务表 / 不新增异常类型 / 不读 S0|S4 业务表。
  114. /// 字段全 nullable,老调用方无感知。
  115. /// </summary>
  116. public AdoS8FinalAssemblyCollabSummaryDto? FinalAssemblyCollabSummary { get; set; }
  117. }
  118. public class AdoS8FinalAssemblyCollabSummaryDto
  119. {
  120. /// <summary>主门禁(GATE)—— key 为前端固定 object_code(如 GOODS_HANDOVER / SHIPMENT_CONFIRMATION)。无映射的门禁不出现在字典中。</summary>
  121. public Dictionary<string, AdoS8FinalAssemblyObjectStatDto> Gates { get; set; } = new();
  122. /// <summary>并行准备(PARALLEL)—— key 为前端固定 object_code(如 SHIPPING_PLAN)。无映射的准备项不出现在字典中。</summary>
  123. public Dictionary<string, AdoS8FinalAssemblyObjectStatDto> Parallels { get; set; } = new();
  124. }
  125. public class AdoS8FinalAssemblyObjectStatDto
  126. {
  127. /// <summary>主门禁口径下的"影响订单"数 = 命中候选异常类型的去重 RelatedObjectCode 数;并行准备口径下保持 null。</summary>
  128. public int? ImpactedOrderCount { get; set; }
  129. /// <summary>并行准备口径下的"风险订单"数 = 命中候选异常类型的去重 RelatedObjectCode 数;主门禁口径下保持 null。</summary>
  130. public int? RiskOrderCount { get; set; }
  131. /// <summary>主要风险标题:候选异常中按 Severity(SERIOUS 优先) → CreatedAt(降序) 取首条 Title。无命中保持 null。</summary>
  132. public string? TopRiskTitle { get; set; }
  133. /// <summary>主要风险严重度:与 TopRiskTitle 来自同一条异常。无命中保持 null。</summary>
  134. public string? TopRiskSeverity { get; set; }
  135. }
  136. public class AdoS8OrderFlowStageAggregateDto
  137. {
  138. public string OrderFlowCode { get; set; } = string.Empty;
  139. public string OrderFlowName { get; set; } = string.Empty;
  140. public decimal KpiAvgDays { get; set; }
  141. public decimal ActualAvgDays { get; set; }
  142. /// <summary>整数百分比(例如 59 / 96 / 85 / 89 / 96),不是 0.59 小数。</summary>
  143. public int OnTimeRate { get; set; }
  144. public int Green { get; set; }
  145. public int Yellow { get; set; }
  146. public int Red { get; set; }
  147. public int Pending { get; set; }
  148. }
  149. #endregion
  150. #region 采购透视
  151. public class AdoS8OrderFlowProcurementPivotQueryDto
  152. {
  153. public string Scope { get; set; } = string.Empty;
  154. /// <summary>
  155. /// 订单编码 CSV(与产品设计 drawings API 对齐)。
  156. /// 例如:单订单 "SO-2026-001";多订单 "SO-2026-001,SO-2026-002,SO-2026-006"。
  157. /// 与 axios 默认 brackets 序列化不兼容,统一用 CSV 字符串避免 ASP.NET Core List 绑定二义性。
  158. /// </summary>
  159. public string? OrderCodes { get; set; }
  160. }
  161. public class AdoS8OrderFlowProcurementPivotDto
  162. {
  163. public string Scope { get; set; } = string.Empty;
  164. public List<AdoS8OrderFlowKeyMaterialDto> KeyMaterials { get; set; } = new();
  165. public List<AdoS8OrderFlowSupplierBreakdownDto> SupplierBreakdown { get; set; } = new();
  166. public List<AdoS8OrderFlowSpecBreakdownDto> SpecBreakdown { get; set; } = new();
  167. public Dictionary<string, List<AdoS8OrderFlowProcurementMatrixRowDto>> MatrixByMaterial { get; set; } = new();
  168. }
  169. public class AdoS8OrderFlowKeyMaterialDto
  170. {
  171. public string MaterialCode { get; set; } = string.Empty;
  172. public decimal AvgCycleDays { get; set; }
  173. public string CycleStatus { get; set; } = string.Empty;
  174. public int? ImpactCount { get; set; }
  175. public decimal? KitRate { get; set; }
  176. public string ResultStatus { get; set; } = string.Empty;
  177. }
  178. public class AdoS8OrderFlowSupplierBreakdownDto
  179. {
  180. public string MaterialCode { get; set; } = string.Empty;
  181. public string SupplierCode { get; set; } = string.Empty;
  182. public decimal AvgCycleDays { get; set; }
  183. public string Status { get; set; } = string.Empty;
  184. }
  185. public class AdoS8OrderFlowSpecBreakdownDto
  186. {
  187. public string MaterialCode { get; set; } = string.Empty;
  188. public string SpecCode { get; set; } = string.Empty;
  189. public decimal AvgCycleDays { get; set; }
  190. public string Status { get; set; } = string.Empty;
  191. }
  192. public class AdoS8OrderFlowProcurementMatrixRowDto
  193. {
  194. public string SupplierCode { get; set; } = string.Empty;
  195. public Dictionary<string, AdoS8OrderFlowProcurementMatrixCellDto> Cells { get; set; } = new();
  196. }
  197. public class AdoS8OrderFlowProcurementMatrixCellDto
  198. {
  199. public decimal CycleDays { get; set; }
  200. public string Status { get; set; } = string.Empty;
  201. }
  202. #endregion
  203. #region 关联异常
  204. public class AdoS8OrderFlowRelatedExceptionQueryDto
  205. {
  206. public string OrderCode { get; set; } = string.Empty;
  207. public string? OrderFlowCode { get; set; }
  208. }
  209. #endregion
  210. #region 产品设计图号
  211. /// <summary>
  212. /// S8-ORDER-CHAIN-PRODUCT-DESIGN-DRAWING-PERSIST-1:产品设计图号查询入参。
  213. /// orderCodes 为空 → 默认聚合全 20 单(scope=BASELINE_PPT);
  214. /// orderCodes 非空 → 仅命中订单范围聚合(scope=CURRENT_FILTERED)。
  215. /// productType 仅过滤 drawings 列表,不改变 summary.categories 的"常规/非标/合计"三档结构。
  216. /// </summary>
  217. public class AdoS8OrderFlowProductDesignDrawingsQueryDto
  218. {
  219. /// <summary>逗号分隔订单号;为空时默认全 20 单。</summary>
  220. public string? OrderCodes { get; set; }
  221. /// <summary>STANDARD / NON_STANDARD;为空时返回全量并保留三档汇总。</summary>
  222. public string? ProductType { get; set; }
  223. }
  224. /// <summary>查询条件回显,便于前端固定下钻状态。</summary>
  225. public class AdoS8OrderFlowProductDesignFilterDto
  226. {
  227. public List<string> OrderCodes { get; set; } = new();
  228. public string? ProductType { get; set; }
  229. }
  230. public class AdoS8OrderFlowProductDesignDrawingItemDto
  231. {
  232. public string OrderCode { get; set; } = string.Empty;
  233. public string DrawingNo { get; set; } = string.Empty;
  234. /// <summary>STANDARD / NON_STANDARD。</summary>
  235. public string ProductType { get; set; } = string.Empty;
  236. /// <summary>责任单位/岗位(研发中心 / 结构设计组 / 电气设计组 / 工艺设计组 / 设计审核组)。</summary>
  237. public string ResponsiblePerson { get; set; } = string.Empty;
  238. public DateTime PlannedStartDate { get; set; }
  239. public DateTime PlannedEndDate { get; set; }
  240. public DateTime? ActualStartDate { get; set; }
  241. public DateTime? ActualEndDate { get; set; }
  242. public decimal KpiDays { get; set; }
  243. public decimal? ActualDays { get; set; }
  244. public bool IsAchieved { get; set; }
  245. /// <summary>green / yellow / red / pending。</summary>
  246. public string Status { get; set; } = string.Empty;
  247. /// <summary>该图号对应台数;台数/占比/加权达成率三种口径的唯一来源。</summary>
  248. public int ProductQuantity { get; set; }
  249. }
  250. public class AdoS8OrderFlowProductDesignOverallSummaryDto
  251. {
  252. public int DrawingCount { get; set; }
  253. public int TotalQuantity { get; set; }
  254. public decimal KpiDays { get; set; }
  255. /// <summary>图号 actual_days 算术平均(非加权),保留小数原值,由前端格式化为 2 位。</summary>
  256. public decimal AvgActualDays { get; set; }
  257. /// <summary>按 product_quantity 加权达标率,小数 0~1,由前端格式化为整数百分比。</summary>
  258. public decimal AchievementRate { get; set; }
  259. }
  260. public class AdoS8OrderFlowProductDesignCategorySummaryDto
  261. {
  262. /// <summary>STANDARD / NON_STANDARD / TOTAL。</summary>
  263. public string ProductType { get; set; } = string.Empty;
  264. public string Name { get; set; } = string.Empty;
  265. public int DrawingCount { get; set; }
  266. public int TotalQuantity { get; set; }
  267. /// <summary>product_quantity 占合计比例,小数 0~1,由前端格式化为 1 位百分比。</summary>
  268. public decimal Ratio { get; set; }
  269. /// <summary>S8-ORDER-CHAIN-PRODUCT-DESIGN-PPT-STATIC-AND-SINGLE-ORDER-ALIGN-1:常规/合计返回 null,前端展示 --;非标返回真实平均设计周期。</summary>
  270. public decimal? AvgActualDays { get; set; }
  271. /// <summary>常规/合计返回 null,前端展示 --;非标返回 3 天 PRODUCT_DESIGN 阶段 KPI。</summary>
  272. public decimal? KpiDays { get; set; }
  273. /// <summary>常规/合计返回 null,前端展示 --;非标返回加权达成率。</summary>
  274. public decimal? AchievementRate { get; set; }
  275. /// <summary>green / yellow / red / ''(空 = 无数据,前端展示 --)。由 achievement_rate 分档得出,不再二次判定。</summary>
  276. public string Status { get; set; } = string.Empty;
  277. }
  278. public class AdoS8OrderFlowProductDesignSummaryDto
  279. {
  280. public AdoS8OrderFlowProductDesignOverallSummaryDto Overall { get; set; } = new();
  281. public List<AdoS8OrderFlowProductDesignCategorySummaryDto> Categories { get; set; } = new();
  282. }
  283. public class AdoS8OrderFlowProductDesignDrawingsDto
  284. {
  285. /// <summary>BASELINE_PPT(默认全 20 单)/ CURRENT_FILTERED(命中订单子集)。</summary>
  286. public string Scope { get; set; } = string.Empty;
  287. public AdoS8OrderFlowProductDesignFilterDto Filter { get; set; } = new();
  288. public AdoS8OrderFlowProductDesignSummaryDto Summary { get; set; } = new();
  289. public List<AdoS8OrderFlowProductDesignDrawingItemDto> Drawings { get; set; } = new();
  290. }
  291. #endregion
  292. #region 本体生产(设备制造) — S8-ORDER-CHAIN-BODY-PRODUCTION-ORDER-LEVEL-SEED-FIX-1
  293. /// <summary>
  294. /// 本体生产「工序明细 / 损失因素 / 操作员表现」三表透视查询入参。
  295. /// orderCodes CSV:与产品设计 drawings API、采购透视 API 对齐,避免 axios brackets 与 ASP.NET Core List 绑定二义性。
  296. /// scope=BASELINE_PPT 时 orderCodes 忽略;scope=CURRENT_FILTERED 时 orderCodes 为空返回空骨架(不静默 fallback baseline)。
  297. /// </summary>
  298. public class AdoS8OrderFlowManufacturingPivotQueryDto
  299. {
  300. /// <summary>BASELINE_PPT | CURRENT_FILTERED</summary>
  301. public string Scope { get; set; } = string.Empty;
  302. /// <summary>逗号分隔订单号;scope=CURRENT_FILTERED 时使用。</summary>
  303. public string? OrderCodes { get; set; }
  304. }
  305. /// <summary>
  306. /// 工序明细行:P10 / P20 / P30 / P40 / TOTAL。
  307. /// pi_days / actual_days 保留 decimal(6,3) 精度;plan_qty 在 TOTAL 行为 null。
  308. /// achievement_rate 在 TOTAL 行 baseline 来自 fixture(0.9000)、订单级按 plan_qty 加权平均;其它行 baseline 复用。
  309. /// </summary>
  310. public class AdoS8OrderFlowManufacturingProcessDto
  311. {
  312. public string ProcessCode { get; set; } = string.Empty;
  313. public string ProcessName { get; set; } = string.Empty;
  314. public decimal PiDays { get; set; }
  315. public decimal ActualDays { get; set; }
  316. public string CycleStatus { get; set; } = string.Empty;
  317. public int? PlanQty { get; set; }
  318. public decimal? AchievementRate { get; set; }
  319. public string AchievementStatus { get; set; } = string.Empty;
  320. public int SortNo { get; set; }
  321. }
  322. /// <summary>损失因素行:MATERIAL / EQUIPMENT / QUALITY / EFFICIENCY / SUBTOTAL。</summary>
  323. public class AdoS8OrderFlowManufacturingLossFactorDto
  324. {
  325. public string FactorCode { get; set; } = string.Empty;
  326. public string FactorName { get; set; } = string.Empty;
  327. public int? CountValue { get; set; }
  328. public decimal? RatioPct { get; set; }
  329. public decimal? LossHours { get; set; }
  330. public int SortNo { get; set; }
  331. }
  332. /// <summary>操作员表现行:OP_ZHANG / OP_LI / OP_WANG。</summary>
  333. public class AdoS8OrderFlowManufacturingOperatorDto
  334. {
  335. public string OperatorCode { get; set; } = string.Empty;
  336. public string OperatorName { get; set; } = string.Empty;
  337. public decimal AvgHours { get; set; }
  338. public string Status { get; set; } = string.Empty;
  339. public int SortNo { get; set; }
  340. }
  341. /// <summary>本体生产透视聚合结果:scope + 工序 / 损失 / 操作员 三组。</summary>
  342. public class AdoS8OrderFlowManufacturingPivotDto
  343. {
  344. /// <summary>BASELINE_PPT | CURRENT_FILTERED</summary>
  345. public string Scope { get; set; } = string.Empty;
  346. public List<AdoS8OrderFlowManufacturingProcessDto> Processes { get; set; } = new();
  347. public List<AdoS8OrderFlowManufacturingLossFactorDto> LossFactors { get; set; } = new();
  348. public List<AdoS8OrderFlowManufacturingOperatorDto> Operators { get; set; } = new();
  349. }
  350. #endregion
  351. #region 总装发货 — S8-ORDER-CHAIN-ASSEMBLY-DELIVERY-DATA-LINEAGE-AUDIT-1
  352. /// <summary>
  353. /// 总装发货「主门禁里程碑 / 并行准备」透视查询入参。
  354. /// orderCodes CSV:与本体生产 / 产品设计 / 采购透视 API 对齐,规避 axios brackets 与 ASP.NET Core List 绑定二义性。
  355. /// scope=BASELINE_PPT 时 orderCodes 忽略;scope=CURRENT_FILTERED 时 orderCodes 为空返回空骨架(不静默 fallback baseline)。
  356. /// 与既有 aggregate.finalAssemblyCollabSummary 通道独立:本 API 提供门禁 KPI / 实际 / 偏差 / 齐套率,
  357. /// aggregate 仍保留异常派生通道作为补充。
  358. /// </summary>
  359. public class AdoS8FinalAssemblyPivotQueryDto
  360. {
  361. /// <summary>BASELINE_PPT | CURRENT_FILTERED</summary>
  362. public string Scope { get; set; } = string.Empty;
  363. /// <summary>逗号分隔订单号;scope=CURRENT_FILTERED 时使用。</summary>
  364. public string? OrderCodes { get; set; }
  365. }
  366. /// <summary>
  367. /// 主门禁里程碑行:ASSEMBLY_COMPLETION / QUALITY_RELEASE / PACKAGING_COMPLETION / GOODS_HANDOVER / SHIPMENT_CONFIRMATION。
  368. /// planned_offset_days 为累计里程碑(0.6/1.2/1.8/2.4/3.0);末位 SHIPMENT_CONFIRMATION.actual_offset_days 守恒为 stage.actual_days。
  369. /// pending 单不进入聚合结果。
  370. /// </summary>
  371. public class AdoS8FinalAssemblyGateDto
  372. {
  373. public string GateCode { get; set; } = string.Empty;
  374. public string GateName { get; set; } = string.Empty;
  375. public decimal PlannedOffsetDays { get; set; }
  376. public decimal? ActualOffsetDays { get; set; }
  377. public decimal? VarianceDays { get; set; }
  378. public string Status { get; set; } = string.Empty;
  379. public int? ImpactedOrderCount { get; set; }
  380. public int? RiskOrderCount { get; set; }
  381. public string? TopRiskType { get; set; }
  382. public string? TopRiskLabel { get; set; }
  383. public string? OwnerSideText { get; set; }
  384. public int SortNo { get; set; }
  385. }
  386. /// <summary>
  387. /// 并行准备行:PACKAGING_MATERIAL_PREP / LABEL_DOC_PREP / SHIPPING_PLAN / SHIPPING_DOC_PREP。
  388. /// kitting_rate 取值 0.0000~1.0000;status 按 ≥0.95 green / ≥0.85 yellow / 否则 red 派生(seed 时固化,运行期不重判)。
  389. /// </summary>
  390. public class AdoS8FinalAssemblyParallelDto
  391. {
  392. public string PrepCode { get; set; } = string.Empty;
  393. public string PrepName { get; set; } = string.Empty;
  394. public decimal? KittingRate { get; set; }
  395. public string Status { get; set; } = string.Empty;
  396. public int? ImpactedOrderCount { get; set; }
  397. public int? RiskOrderCount { get; set; }
  398. public string? TopRiskType { get; set; }
  399. public string? TopRiskLabel { get; set; }
  400. public string? OwnerSideText { get; set; }
  401. public int SortNo { get; set; }
  402. }
  403. /// <summary>总装发货透视聚合结果:scope + 5 门禁 + 4 并行准备。</summary>
  404. public class AdoS8FinalAssemblyPivotDto
  405. {
  406. /// <summary>BASELINE_PPT | CURRENT_FILTERED</summary>
  407. public string Scope { get; set; } = string.Empty;
  408. public List<AdoS8FinalAssemblyGateDto> Gates { get; set; } = new();
  409. public List<AdoS8FinalAssemblyParallelDto> ParallelPreps { get; set; } = new();
  410. }
  411. #endregion