AdoS8Dtos.cs 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. namespace Admin.NET.Plugin.AiDOP.Dto.S8;
  2. public class AdoS8ExceptionQueryDto
  3. {
  4. public long TenantId { get; set; } = 1;
  5. public long FactoryId { get; set; } = 1;
  6. public string? Keyword { get; set; }
  7. public string? Status { get; set; }
  8. public string? StatusBucket { get; set; }
  9. public string? Severity { get; set; }
  10. public string? SceneCode { get; set; }
  11. /// <summary>模块码过滤(S1-S7),用于监控页下钻</summary>
  12. public string? ModuleCode { get; set; }
  13. public long? DeptId { get; set; }
  14. public bool? TimeoutFlag { get; set; }
  15. public string? ProcessNodeCode { get; set; }
  16. public string? RelatedObjectCode { get; set; }
  17. public DateTime? BeginTime { get; set; }
  18. public DateTime? EndTime { get; set; }
  19. /// <summary>是否包含 exception_type_code 为 NULL 的未分类历史异常;默认 false(隐藏)。</summary>
  20. public bool? IncludeUnclassified { get; set; }
  21. /// <summary>恢复状态筛选:RECOVERED / ACTIVE / 空=不限。</summary>
  22. public string? RecoveredStatus { get; set; }
  23. /// <summary>规则类型筛选:OUT_OF_RANGE / TIMEOUT / SHORTAGE / 空=不限;通过 source_rule_code join watch_rule.rule_type。</summary>
  24. public string? RuleType { get; set; }
  25. /// <summary>S8-DASHBOARD-DATA-ALIGN-S1S7-1:仅返回 module_code IN S1-S7 的异常;看板明细表传 true 与 KPI 口径对齐。
  26. /// 默认 false 以保证异常列表页(/aidop/s8/exceptions)行为不变。</summary>
  27. public bool? OnlyS1S7Modules { get; set; }
  28. /// <summary>ORDER-FLOW-S8-INTEGRATED-DOMAIN-RESET-1 t3j:按订单链路阶段(大写 ORDER_FLOW code)筛选。</summary>
  29. public string? OrderFlowCode { get; set; }
  30. /// <summary>ORDER-FLOW-S8-INTEGRATED-DOMAIN-RESET-1 t3j:按 S_STAGE 阶段筛选。</summary>
  31. public string? StageCode { get; set; }
  32. /// <summary>ORDER-FLOW-S8-INTEGRATED-DOMAIN-RESET-1 t3j:按规则机制筛选。</summary>
  33. public string? RuleMechanism { get; set; }
  34. public int Page { get; set; } = 1;
  35. public int PageSize { get; set; } = 20;
  36. }
  37. public class AdoS8ExceptionListItemDto
  38. {
  39. public long Id { get; set; }
  40. public long FactoryId { get; set; }
  41. public string ExceptionCode { get; set; } = string.Empty;
  42. public string Title { get; set; } = string.Empty;
  43. public string Status { get; set; } = string.Empty;
  44. public string? StatusLabel { get; set; }
  45. public string Severity { get; set; } = string.Empty;
  46. public string? SeverityLabel { get; set; }
  47. public decimal PriorityScore { get; set; }
  48. public string PriorityLevel { get; set; } = string.Empty;
  49. public string SceneCode { get; set; } = string.Empty;
  50. public string? SceneName { get; set; }
  51. /// <summary>S8-EXCEPTION-MODULE-DISPLAY-1:业务展示主口径(S1-S7)。SceneCode/SceneName 保留兼容期。</summary>
  52. public string? ModuleCode { get; set; }
  53. public string? ModuleName { get; set; }
  54. public long ResponsibleDeptId { get; set; }
  55. public string? ResponsibleDeptName { get; set; }
  56. public long OccurrenceDeptId { get; set; }
  57. public string? OccurrenceDeptName { get; set; }
  58. public long? AssigneeId { get; set; }
  59. public string? AssigneeName { get; set; }
  60. public DateTime? SlaDeadline { get; set; }
  61. public bool TimeoutFlag { get; set; }
  62. public DateTime CreatedAt { get; set; }
  63. public DateTime? ClosedAt { get; set; }
  64. public string? ExceptionTypeCode { get; set; }
  65. public DateTime? RecoveredAt { get; set; }
  66. public string? SourceRuleCode { get; set; }
  67. public string? SourceObjectType { get; set; }
  68. public string? SourceObjectId { get; set; }
  69. public string? DedupKey { get; set; }
  70. public DateTime? LastDetectedAt { get; set; }
  71. public string? RuleType { get; set; }
  72. /// <summary>ORDER-FLOW-S8-INTEGRATED-DOMAIN-RESET-1 t3j:关联对象编码(订单链路场景下为 order_code)。</summary>
  73. public string? RelatedObjectCode { get; set; }
  74. /// <summary>ORDER-FLOW-S8-INTEGRATED-DOMAIN-RESET-1 t3j:订单链路大写 code(5 阶段协议枚举)。</summary>
  75. public string? OrderFlowCode { get; set; }
  76. /// <summary>ORDER-FLOW-S8-INTEGRATED-DOMAIN-RESET-1 t3j:S_STAGE 阶段。</summary>
  77. public string? StageCode { get; set; }
  78. /// <summary>ORDER-FLOW-S8-INTEGRATED-DOMAIN-RESET-1 t3j:规则机制。</summary>
  79. public string? RuleMechanism { get; set; }
  80. }
  81. public class AdoS8ExceptionDetailDto : AdoS8ExceptionListItemDto
  82. {
  83. public string? Description { get; set; }
  84. public string SourceType { get; set; } = string.Empty;
  85. public long? ResponsibleGroupId { get; set; }
  86. public long? ReporterId { get; set; }
  87. public string? ReporterName { get; set; }
  88. public DateTime? AssignedAt { get; set; }
  89. public DateTime? UpdatedAt { get; set; }
  90. public long? ActiveFlowInstanceId { get; set; }
  91. public string? ActiveFlowBizType { get; set; }
  92. public long? VerifierId { get; set; }
  93. public string? VerifierName { get; set; }
  94. public DateTime? VerificationAssignedAt { get; set; }
  95. public DateTime? VerifiedAt { get; set; }
  96. public string? VerificationResult { get; set; }
  97. public string? VerificationRemark { get; set; }
  98. public long? SourceRuleId { get; set; }
  99. }
  100. public class AdoS8ManualReportCreateDto
  101. {
  102. public long TenantId { get; set; } = 1;
  103. public long FactoryId { get; set; } = 1;
  104. public string Title { get; set; } = string.Empty;
  105. public string? Description { get; set; }
  106. public string SceneCode { get; set; } = string.Empty;
  107. public string Severity { get; set; } = "FOLLOW";
  108. public long OccurrenceDeptId { get; set; }
  109. public long ResponsibleDeptId { get; set; }
  110. public long? ReporterId { get; set; }
  111. /// <summary>关联对象编码:当前按订单项 / 类订单项对象理解,允许重复,可为空。最长 64 字符(与 ado_s8_exception.related_object_code 一致)。</summary>
  112. public string? RelatedObjectCode { get; set; }
  113. // TASK-002-RESET-DIMENSION-MODEL-DEV-2B:手工提报维度选择(前端首版可不传,按 module_code 兜底;rule_mechanism 固定 MANUAL_REPORT)。
  114. public string? StageCode { get; set; }
  115. public string? OrderFlowCode { get; set; }
  116. }
  117. public class AdoS8ManualReportResultDto
  118. {
  119. public long ExceptionId { get; set; }
  120. public string ExceptionCode { get; set; } = string.Empty;
  121. public long TaskId { get; set; }
  122. }
  123. public class AdoS8TimelineItemDto
  124. {
  125. public long Id { get; set; }
  126. public string ActionCode { get; set; } = string.Empty;
  127. public string ActionLabel { get; set; } = string.Empty;
  128. public string? FromStatus { get; set; }
  129. public string? ToStatus { get; set; }
  130. public long? OperatorId { get; set; }
  131. public string? OperatorName { get; set; }
  132. public string? ActionRemark { get; set; }
  133. public DateTime CreatedAt { get; set; }
  134. }
  135. public class AdoS8DecisionItemDto
  136. {
  137. public long Id { get; set; }
  138. public string DecisionType { get; set; } = string.Empty;
  139. public long DecisionMakerId { get; set; }
  140. public string DecisionMakerName { get; set; } = string.Empty;
  141. public string? DecisionBasis { get; set; }
  142. public string? DecisionResult { get; set; }
  143. public string? DecisionRemark { get; set; }
  144. public DateTime DecisionTime { get; set; }
  145. }
  146. public class AdoS8EvidenceItemDto
  147. {
  148. public long Id { get; set; }
  149. public string EvidenceType { get; set; } = string.Empty;
  150. public string FileName { get; set; } = string.Empty;
  151. public string FileUrl { get; set; } = string.Empty;
  152. public string? SourceSystem { get; set; }
  153. public long? UploadedBy { get; set; }
  154. public DateTime UploadedAt { get; set; }
  155. }
  156. public class AdoS8CommentDto
  157. {
  158. public string? Remark { get; set; }
  159. }
  160. public class AdoS8TransferDto
  161. {
  162. public long AssigneeId { get; set; }
  163. public string? Remark { get; set; }
  164. }
  165. public class AdoS8AttachmentCreateDto
  166. {
  167. public string EvidenceType { get; set; } = "file";
  168. public string FileName { get; set; } = string.Empty;
  169. public string FileUrl { get; set; } = string.Empty;
  170. public string? SourceSystem { get; set; }
  171. public long? UploadedBy { get; set; }
  172. }
  173. // ── 监控汇总 DTO ─────────────────────────────────────────────────────────────
  174. public class AdoS8MonitoringSummaryQueryDto
  175. {
  176. public long TenantId { get; set; } = 1;
  177. public long FactoryId { get; set; } = 1;
  178. /// <summary>场景码过滤(不传 = 全部)</summary>
  179. public string? SceneCode { get; set; }
  180. /// <summary>模块码过滤(不传 = 全部)</summary>
  181. public string? ModuleCode { get; set; }
  182. public DateTime? BizDateFrom { get; set; }
  183. public DateTime? BizDateTo { get; set; }
  184. /// <summary>统一时间筛选:today / this_week / this_month。BizDateFrom/BizDateTo 已传时优先于 Period。</summary>
  185. public string? Period { get; set; }
  186. }
  187. /// <summary>单个模块的异常汇总行</summary>
  188. public class AdoS8ModuleSummaryItem
  189. {
  190. public string ModuleCode { get; set; } = string.Empty;
  191. public string ModuleLabel { get; set; } = string.Empty;
  192. public string SceneCode { get; set; } = string.Empty;
  193. public string SceneLabel { get; set; } = string.Empty;
  194. public int Total { get; set; }
  195. public int Red { get; set; }
  196. public int Yellow { get; set; }
  197. public int Green { get; set; }
  198. public int Timeout { get; set; }
  199. // S8-OVERVIEW-STAGE-CARD-LIFECYCLE-COPY-AND-METRIC-FIX-1:severity × timeout 双桶,与 Timeout 同 SLA 口径。
  200. public int SeriousTimeout { get; set; }
  201. public int FollowTimeout { get; set; }
  202. }
  203. /// <summary>监控汇总出参(综合全景页顶部 + 表格数据)</summary>
  204. public class AdoS8MonitoringSummaryDto
  205. {
  206. public int Total { get; set; }
  207. public int Red { get; set; }
  208. public int Yellow { get; set; }
  209. public int Green { get; set; }
  210. public int Timeout { get; set; }
  211. public int SeriousTimeout { get; set; }
  212. public int FollowTimeout { get; set; }
  213. public List<AdoS8ModuleSummaryItem> ByModule { get; set; } = new();
  214. }
  215. // ── 9宫格 OrderGrid DTO ──────────────────────────────────────────────────────
  216. /// <summary>S1-S7 单个模块的订单健康分布(9宫格前7格)</summary>
  217. public class AdoS8ModuleOrderSummary
  218. {
  219. public string ModuleCode { get; set; } = string.Empty;
  220. public string ModuleLabel { get; set; } = string.Empty;
  221. /// <summary>绿色订单数(来自订单主数据,不从异常 severity 推导)。</summary>
  222. public int Green { get; set; }
  223. /// <summary>黄色订单数(FOLLOW 关注)。</summary>
  224. public int Yellow { get; set; }
  225. /// <summary>红色订单数(SERIOUS 严重,或黄色超时)。</summary>
  226. public int Red { get; set; }
  227. public int Total { get; set; }
  228. /// <summary>异常发生频率(每百订单异常数)</summary>
  229. public double Frequency { get; set; }
  230. /// <summary>平均处理时效(小时)</summary>
  231. public double AvgProcessHours { get; set; }
  232. /// <summary>异常关闭百分比</summary>
  233. public double CloseRate { get; set; }
  234. }
  235. /// <summary>S8格:按业务类别汇总(第8格)</summary>
  236. public class AdoS8CategorySummary
  237. {
  238. public string Category { get; set; } = string.Empty;
  239. public int Total { get; set; }
  240. public double AvgProcessHours { get; set; }
  241. public double CloseRate { get; set; }
  242. }
  243. /// <summary>S9格:按责任部门汇总(第9格)</summary>
  244. public class AdoS8DeptSummary
  245. {
  246. public string DeptName { get; set; } = string.Empty;
  247. public int Total { get; set; }
  248. public double AvgProcessHours { get; set; }
  249. public double CloseRate { get; set; }
  250. }
  251. /// <summary>9宫格完整出参</summary>
  252. public class AdoS8OrderGridDto
  253. {
  254. public List<AdoS8ModuleOrderSummary> Modules { get; set; } = new();
  255. public List<AdoS8CategorySummary> ByCategory { get; set; } = new();
  256. public List<AdoS8DeptSummary> ByDept { get; set; } = new();
  257. }
  258. /// <summary>S9 QDC 四主线聚合单项</summary>
  259. public class AdoS8QdcSummaryItemDto
  260. {
  261. /// <summary>主线码:QUALITY / DELIVERY / COST / INVENTORY</summary>
  262. public string Code { get; set; } = string.Empty;
  263. public string Title { get; set; } = string.Empty;
  264. public int Total { get; set; }
  265. public double? AvgProcessHours { get; set; }
  266. public double? OnTimeCloseRate { get; set; }
  267. public double? CloseRate { get; set; }
  268. public string? Remark { get; set; }
  269. }
  270. /// <summary>S9 QDC 四主线聚合出参</summary>
  271. public class AdoS8QdcSummaryDto
  272. {
  273. public List<AdoS8QdcSummaryItemDto> Items { get; set; } = new();
  274. }
  275. /// <summary>
  276. /// S9 result KPI 单项。currentValue/targetRatio 由 service 按 metricCode 决定。
  277. /// </summary>
  278. public class AdoS8ResultKpiItemDto
  279. {
  280. /// <summary>指标码(与 ado_s8_monitor_metric.metric_code 同源)</summary>
  281. public string MetricCode { get; set; } = string.Empty;
  282. public string MetricName { get; set; } = string.Empty;
  283. public string ObjectCode { get; set; } = string.Empty;
  284. public string Unit { get; set; } = "%";
  285. public decimal? CurrentValue { get; set; }
  286. public decimal? TargetRatio { get; set; }
  287. public bool DictionaryEnabled { get; set; }
  288. public string? Remark { get; set; }
  289. /// <summary>每项来源:DEMO_BASELINE / ORDER_FLOW_CALC / ORDER_FLOW_CALC_EMPTY / PENDING_REAL。</summary>
  290. public string Source { get; set; } = "DEMO_BASELINE";
  291. }
  292. /// <summary>S9 result KPI summary 出参。Source 顶层:DICTIONARY_MOCK / MIXED_BASELINE / REAL。</summary>
  293. public class AdoS8ResultKpiSummaryDto
  294. {
  295. public List<AdoS8ResultKpiItemDto> Items { get; set; } = new();
  296. public string Source { get; set; } = "DICTIONARY_MOCK";
  297. }
  298. /// <summary>S8-DELIVERY-TREND-CHART-REPLACE-DUPLICATE-SECTION-1:Delivery 页近 N 日交付异常趋势出参。</summary>
  299. public class AdoS8DeliveryTrendDto
  300. {
  301. public List<AdoS8DeliveryTrendDayDto> Days { get; set; } = new();
  302. public AdoS8DeliveryTrendSummaryDto Summary { get; set; } = new();
  303. }
  304. public class AdoS8DeliveryTrendDayDto
  305. {
  306. /// <summary>日期短格式 MM/dd(图表 X 轴)</summary>
  307. public string Date { get; set; } = string.Empty;
  308. /// <summary>原始日期 yyyy-MM-dd</summary>
  309. public string RawDate { get; set; } = string.Empty;
  310. /// <summary>订单交期延期(ORDER_DUE_DATE_DELAY)当日计数</summary>
  311. public int OrderDueDateDelay { get; set; }
  312. /// <summary>总装发货延期(DELIVERY_DELAY_WARNING)当日计数</summary>
  313. public int DeliveryDelayWarning { get; set; }
  314. public int Total { get; set; }
  315. }
  316. public class AdoS8DeliveryTrendSummaryDto
  317. {
  318. public int PeakValue { get; set; }
  319. public string? PeakDate { get; set; }
  320. public double AvgValue { get; set; }
  321. public int TodayValue { get; set; }
  322. /// <summary>今日相对昨日变化率(%);昨日为 0 时返回 null。</summary>
  323. public double? TodayChangeRate { get; set; }
  324. }
  325. /// <summary>S8-PROD-SUPPLY-TREND-CHART-REPLACE-DUPLICATE-SECTION-1:Production 页近 N 日生产异常趋势出参。</summary>
  326. public class AdoS8ProductionTrendDto
  327. {
  328. public List<AdoS8ProductionTrendDayDto> Days { get; set; } = new();
  329. public AdoS8DeliveryTrendSummaryDto Summary { get; set; } = new();
  330. }
  331. public class AdoS8ProductionTrendDayDto
  332. {
  333. public string Date { get; set; } = string.Empty;
  334. public string RawDate { get; set; } = string.Empty;
  335. public int EquipmentFault { get; set; }
  336. public int MaterialFault { get; set; }
  337. public int QualityFault { get; set; }
  338. public int Total { get; set; }
  339. }
  340. /// <summary>S8-PROD-SUPPLY-TREND-CHART-REPLACE-DUPLICATE-SECTION-1:Supply 页近 N 日供应异常趋势出参。</summary>
  341. public class AdoS8SupplyTrendDto
  342. {
  343. public List<AdoS8SupplyTrendDayDto> Days { get; set; } = new();
  344. public AdoS8DeliveryTrendSummaryDto Summary { get; set; } = new();
  345. }
  346. public class AdoS8SupplyTrendDayDto
  347. {
  348. public string Date { get; set; } = string.Empty;
  349. public string RawDate { get; set; } = string.Empty;
  350. public int SupplierEtaIssue { get; set; }
  351. public int SupplierShipIssue { get; set; }
  352. public int WarehouseReceiptAbnormal { get; set; }
  353. public int IqcIssue { get; set; }
  354. public int WarehousePutawayIssue { get; set; }
  355. public int WorkOrderKittingAbnormal { get; set; }
  356. public int WorkOrderIssueAbnormal { get; set; }
  357. public int Total { get; set; }
  358. }
  359. /// <summary>
  360. /// S8-SIDEBAR-TYPE-CARD-WINDOW-TOGGLE-1:右侧异常类型卡按时间窗口切片(LAST_24H / LAST_7D)出参。
  361. /// 同一窗口内 total / open / closed / avgProcessHours / closeRate 共用同一分母,避免跨窗口拼接误读。
  362. /// </summary>
  363. public class AdoS8DomainTypeMetricsDto
  364. {
  365. public string Domain { get; set; } = string.Empty;
  366. public string Window { get; set; } = string.Empty;
  367. public int Total { get; set; }
  368. public List<AdoS8DomainTypeMetricItemDto> Items { get; set; } = new();
  369. }
  370. public class AdoS8DomainTypeMetricItemDto
  371. {
  372. public string Key { get; set; } = string.Empty;
  373. public string Label { get; set; } = string.Empty;
  374. public string TypeCode { get; set; } = string.Empty;
  375. public int Total { get; set; }
  376. public int OpenCount { get; set; }
  377. public int ClosedCount { get; set; }
  378. /// <summary>已关闭样本均时(小时);无 closed 样本时 null,前端展示 --。</summary>
  379. public double? AvgProcessHours { get; set; }
  380. /// <summary>关闭率 %;total=0 时 null,前端展示 --。</summary>
  381. public double? CloseRate { get; set; }
  382. }
  383. public class AdoS8SubmitVerificationDto
  384. {
  385. public long VerifierId { get; set; }
  386. public string? Remark { get; set; }
  387. }
  388. public class AdoS8ApproveVerificationDto
  389. {
  390. public string? Remark { get; set; }
  391. }
  392. public class AdoS8RejectVerificationDto
  393. {
  394. public string Remark { get; set; } = string.Empty;
  395. }
  396. // TASK-002-RESET-DIMENSION-MODEL-DEV-1: S8 业务维度元数据 DTO
  397. public class AdoS8DimensionDto
  398. {
  399. public string DimensionCode { get; set; } = string.Empty;
  400. public string DimensionName { get; set; } = string.Empty;
  401. public bool Enabled { get; set; }
  402. public int SortNo { get; set; }
  403. public string? Remark { get; set; }
  404. }
  405. // ── TASK-015-TREE-DEV-1:异常类型树形结构 DTO ─────────────────────────────
  406. /// <summary>
  407. /// 异常类型树节点;2 层结构(父节点 IsGroup=true → 子节点 IsGroup=false)。
  408. /// 父节点不可作为业务异常类型;未归类子节点(ParentId=null AND IsGroup=false)由前端组装虚拟根。
  409. /// </summary>
  410. public class AdoS8ExceptionTypeTreeNodeDto
  411. {
  412. public long Id { get; set; }
  413. public string TypeCode { get; set; } = string.Empty;
  414. public string TypeName { get; set; } = string.Empty;
  415. public long? ParentId { get; set; }
  416. public bool IsGroup { get; set; }
  417. public string SceneCode { get; set; } = string.Empty;
  418. public string SeverityDefault { get; set; } = string.Empty;
  419. public int SlaMinutes { get; set; }
  420. public string? OwnerRoleCode { get; set; }
  421. public string? EscalateRoleCode { get; set; }
  422. public string StatsMode { get; set; } = string.Empty;
  423. public string? MonitoringCategoryKey { get; set; }
  424. public bool MobileVisible { get; set; }
  425. public string? Icon { get; set; }
  426. public bool Enabled { get; set; }
  427. public int SortNo { get; set; }
  428. public string? Remark { get; set; }
  429. public DateTime CreatedAt { get; set; }
  430. public DateTime? UpdatedAt { get; set; }
  431. public List<AdoS8ExceptionTypeTreeNodeDto> Children { get; set; } = new();
  432. }
  433. /// <summary>
  434. /// 异常类型树出参:顶层只包含 5 个真实父节点(IsGroup=true)。
  435. /// 未归类节点单独以 Orphans 列表返回,由前端拼装虚拟根,避免 DB 引入未归类父节点。
  436. /// </summary>
  437. public class AdoS8ExceptionTypeTreeDto
  438. {
  439. public List<AdoS8ExceptionTypeTreeNodeDto> Roots { get; set; } = new();
  440. public List<AdoS8ExceptionTypeTreeNodeDto> Orphans { get; set; } = new();
  441. }
  442. public class AdoS8DimensionNodeDto
  443. {
  444. public long Id { get; set; }
  445. public string DimensionCode { get; set; } = string.Empty;
  446. public string NodeCode { get; set; } = string.Empty;
  447. public string NodeName { get; set; } = string.Empty;
  448. public long? ParentId { get; set; }
  449. public int Level { get; set; }
  450. public string Path { get; set; } = string.Empty;
  451. public bool IsSelectable { get; set; }
  452. /// <summary>= !IsSelectable,供前端树选择器直接消费</summary>
  453. public bool Disabled { get; set; }
  454. public bool Enabled { get; set; }
  455. public int SortNo { get; set; }
  456. public string? Remark { get; set; }
  457. public List<AdoS8DimensionNodeDto> Children { get; set; } = new();
  458. }