Blame view

泰额版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/Dtos/Dashboard/DashboardMetricCardDto.cs 744 Bytes
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
  namespace FoodLabeling.Application.Contracts.Dtos.Dashboard;
  
  /// <summary>
  /// 仪表盘指标卡片
  /// </summary>
  public class DashboardMetricCardDto
  {
      /// <summary>指标唯一标识(如 labelsPrintedToday</summary>
      public string Key { get; set; } = string.Empty;
  
      /// <summary>指标标题</summary>
      public string Title { get; set; } = string.Empty;
  
      /// <summary>当前值</summary>
      public int Value { get; set; }
  
      /// <summary>对比周期值</summary>
      public int PreviousValue { get; set; }
  
      /// <summary>增减值(Value - PreviousValue</summary>
      public int ChangeValue { get; set; }
  
      /// <summary>增减比例(百分比)</summary>
      public decimal ChangeRate { get; set; }
  }