namespace HoneyBox.Admin.Business.Models.User;

/// <summary>
/// 日期范围
/// </summary>
public class DateRange
{
    /// <summary>
    /// 开始日期
    /// </summary>
    public DateTime? StartDate { get; set; }

    /// <summary>
    /// 结束日期
    /// </summary>
    public DateTime? EndDate { get; set; }
}

/// <summary>
/// 用户盈亏统计响应
/// </summary>
public class UserProfitLossResponse
{
    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 总充值金额
    /// </summary>
    public decimal TotalRecharge { get; set; }

    /// <summary>
    /// 总消费金额
    /// </summary>
    public decimal TotalConsumption { get; set; }

    /// <summary>
    /// 总回收金额
    /// </summary>
    public decimal TotalRecovery { get; set; }

    /// <summary>
    /// 总发货价值
    /// </summary>
    public decimal TotalShippingValue { get; set; }

    /// <summary>
    /// 当前余额
    /// </summary>
    public decimal CurrentBalance { get; set; }

    /// <summary>
    /// 当前积分
    /// </summary>
    public decimal CurrentIntegral { get; set; }

    /// <summary>
    /// 当前钻石
    /// </summary>
    public decimal CurrentDiamond { get; set; }

    /// <summary>
    /// 盈亏金额（正数为盈利，负数为亏损）
    /// </summary>
    public decimal ProfitLoss { get; set; }

    /// <summary>
    /// 盒柜价值
    /// </summary>
    public decimal BoxValue { get; set; }
}
