Blame view

泰额版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/Dtos/Dashboard/DashboardOverviewOutputDto.cs 1.82 KB
59e51671   “wangming”   1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
  namespace FoodLabeling.Application.Contracts.Dtos.Dashboard;
  
  /// <summary>
  /// 仪表盘总览输出
  /// </summary>
  public class DashboardOverviewOutputDto
  {
      /// <summary>今日打印标签</summary>
      public DashboardMetricCardDto LabelsPrintedToday { get; set; } = new();
  
      /// <summary>启用模板数</summary>
      public DashboardMetricCardDto ActiveTemplates { get; set; } = new();
  
      /// <summary>活跃用户数</summary>
      public DashboardMetricCardDto ActiveUsers { get; set; } = new();
  
      /// <summary>门店数</summary>
      public DashboardMetricCardDto Locations { get; set; } = new();
  
      /// <summary>人员数</summary>
      public DashboardMetricCardDto People { get; set; } = new();
  
      /// <summary>产品数</summary>
      public DashboardMetricCardDto Products { get; set; } = new();
  
      /// <summary>指标卡片</summary>
      public List<DashboardMetricCardDto> MetricCards { get; set; } = new();
  
      /// <summary>7天打印趋势</summary>
      public List<DashboardDailyTrendPointDto> WeeklyPrintVolume { get; set; } = new();
  
      /// <summary>按分类分布</summary>
      public List<DashboardCategoryDistributionDto> CategoryDistribution { get; set; } = new();
  
      /// <summary>分类分布总数</summary>
      public int CategoryDistributionTotal { get; set; }
  
      /// <summary>按分类分布(前端直观命名)</summary>
      public List<DashboardCategoryDistributionDto> ByCategory { get; set; } = new();
  
      /// <summary>按分类分布总数(前端直观命名)</summary>
      public int ByCategoryTotal { get; set; }
  
      /// <summary>最近打印标签(全门店最新若干条,用于 Recent Labels 区块)</summary>
      public List<DashboardRecentLabelItemDto> RecentLabels { get; set; } = new();
  
      /// <summary>统计时间</summary>
      public DateTime GeneratedAt { get; set; }
  }