namespace YD_Event.Application.Event.Dtos;
///
/// 费用明细项
///
public class FeeDetailItem
{
///
/// 项目名称
///
public string ItemName { get; set; } = string.Empty;
///
/// 单价
///
public decimal UnitPrice { get; set; }
///
/// 数量
///
public int Quantity { get; set; }
///
/// 小计
///
public decimal Subtotal { get; set; }
///
/// 备注
///
public string? Remark { get; set; }
}
///
/// 费用计算结果
///
public class FeeCalculationResult
{
///
/// 收费模式
///
public string ChargeMode { get; set; } = string.Empty;
///
/// 总金额(精确到分)
///
public decimal TotalAmount { get; set; }
///
/// 总人数
///
public int TotalPersonCount { get; set; }
///
/// 费用明细
///
public List FeeDetails { get; set; } = new List();
///
/// 计算日志(用于审计)
///
public List CalculationLogs { get; set; } = new List();
}
///
/// 费用计算输入
///
public class FeeCalculationInput
{
///
/// 赛事ID
///
public long EventId { get; set; }
///
/// 报名项目ID列表
///
public List EventProjectIds { get; set; } = new List();
///
/// 参赛人数
///
public int ParticipantCount { get; set; }
}