namespace HoneyBox.Admin.Business.Models.DesignatedPrize;

#region Response Models

/// <summary>
/// 指定中奖配置响应DTO
/// </summary>
public class DesignatedPrizeDto
{
    /// <summary>
    /// 配置ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 商品/盒子ID
    /// </summary>
    public int GoodsId { get; set; }

    /// <summary>
    /// 奖品ID
    /// </summary>
    public int GoodsItemId { get; set; }

    /// <summary>
    /// 奖品标题
    /// </summary>
    public string? GoodsItemTitle { get; set; }

    /// <summary>
    /// 奖品图片URL
    /// </summary>
    public string? GoodsItemImgUrl { get; set; }

    /// <summary>
    /// 指定用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 用户昵称
    /// </summary>
    public string? UserNickname { get; set; }

    /// <summary>
    /// 用户手机号
    /// </summary>
    public string? UserPhone { get; set; }

    /// <summary>
    /// 是否启用
    /// </summary>
    public bool IsActive { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedAt { get; set; }
}

#endregion

#region Request Models

/// <summary>
/// 创建指定中奖配置请求
/// </summary>
public class CreateDesignatedPrizeRequest
{
    /// <summary>
    /// 奖品ID
    /// </summary>
    public int GoodsItemId { get; set; }

    /// <summary>
    /// 指定用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }
}

/// <summary>
/// 更新指定中奖配置请求
/// </summary>
public class UpdateDesignatedPrizeRequest
{
    /// <summary>
    /// 指定用户ID（可选，不传则不更新）
    /// </summary>
    public int? UserId { get; set; }

    /// <summary>
    /// 是否启用（可选，不传则不更新）
    /// </summary>
    public bool? IsActive { get; set; }

    /// <summary>
    /// 备注（可选，不传则不更新）
    /// </summary>
    public string? Remark { get; set; }
}

#endregion
