namespace FoodLabeling.Application.Contracts.Dtos.Dashboard; /// /// 仪表盘总览输出 /// public class DashboardOverviewOutputDto { /// 今日打印标签 public DashboardMetricCardDto LabelsPrintedToday { get; set; } = new(); /// 启用模板数 public DashboardMetricCardDto ActiveTemplates { get; set; } = new(); /// 活跃用户数 public DashboardMetricCardDto ActiveUsers { get; set; } = new(); /// 门店数 public DashboardMetricCardDto Locations { get; set; } = new(); /// 人员数 public DashboardMetricCardDto People { get; set; } = new(); /// 产品数 public DashboardMetricCardDto Products { get; set; } = new(); /// 指标卡片 public List MetricCards { get; set; } = new(); /// 近7天打印趋势 public List WeeklyPrintVolume { get; set; } = new(); /// 按分类分布 public List CategoryDistribution { get; set; } = new(); /// 分类分布总数 public int CategoryDistributionTotal { get; set; } /// 按分类分布(前端直观命名) public List ByCategory { get; set; } = new(); /// 按分类分布总数(前端直观命名) public int ByCategoryTotal { get; set; } /// 最近打印标签(全门店最新若干条,用于 Recent Labels 区块) public List RecentLabels { get; set; } = new(); /// 统计时间 public DateTime GeneratedAt { get; set; } }