fix 消费统计
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
namespace Dlhis.Canteen.Order.Response;
|
||||
|
||||
public class BalanceRecordAnalysisRespones
|
||||
{
|
||||
/// <summary>
|
||||
/// 消费日期
|
||||
/// </summary>
|
||||
public DateOnly CostDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 早餐人数
|
||||
/// </summary>
|
||||
public int BreakfastNumberOfPeople { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 午餐人数
|
||||
/// </summary>
|
||||
public int LunchNumberOfPeople { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 晚餐人数
|
||||
/// </summary>
|
||||
public int DinnerNumberOfPeople { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 宵夜人数
|
||||
/// </summary>
|
||||
public int LateNightNumberOfPeople { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总人数
|
||||
/// </summary>
|
||||
public int TotalNumberOfPeople { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using Dlhis.Entity.Canteen.Enums;
|
||||
using Kurisu.Core.CustomClass;
|
||||
|
||||
namespace Dlhis.Canteen.Order.Response;
|
||||
|
||||
public class BalanceRecordAnalysisResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 消费日期
|
||||
/// </summary>
|
||||
public DateOnly Date { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 餐次消费数据
|
||||
/// </summary>
|
||||
public List<KeyValueDto<ShiftEnumType, int>> Items { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总人数
|
||||
/// </summary>
|
||||
public int Total { get; set; }
|
||||
}
|
||||
@@ -1,9 +1,28 @@
|
||||
using Dlhis.Entity.Canteen.Enums;
|
||||
using Kurisu.AspNetCore.Utils.Extensions;
|
||||
using Kurisu.Core.DataAccess.Dto;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dlhis.Canteen.Order.Response;
|
||||
|
||||
public class BalanceRecordByBusinessPlaceResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 消费总金额
|
||||
/// </summary>
|
||||
public decimal Amount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消费人数
|
||||
/// </summary>
|
||||
public int Total { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页数据
|
||||
/// </summary>
|
||||
public Pagination<BalanceRecordDetailPageResponse> Pagination { get; set; }
|
||||
}
|
||||
|
||||
public class BalanceRecordDetailPageResponse
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user