namespace HoneyBox.Admin.Business.Models.WelfareHouse;

#region Response Models

/// <summary>
/// 福利屋入口列表响应模型
/// </summary>
public class WelfareHouseResponse
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 图片URL
    /// </summary>
    public string Image { get; set; } = string.Empty;

    /// <summary>
    /// 跳转链接
    /// </summary>
    public string Url { get; set; } = string.Empty;

    /// <summary>
    /// 排序值
    /// </summary>
    public int Sort { get; set; }

    /// <summary>
    /// 状态: 0禁用 1启用
    /// </summary>
    public int Status { get; set; }

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

#endregion

#region Request Models

/// <summary>
/// 福利屋入口列表查询请求
/// </summary>
public class WelfareHouseListRequest : PagedRequest
{
}

/// <summary>
/// 福利屋入口创建请求模型
/// </summary>
public class WelfareHouseCreateRequest
{
    /// <summary>
    /// 名称（必填）
    /// </summary>
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 图片URL（必填）
    /// </summary>
    public string Image { get; set; } = string.Empty;

    /// <summary>
    /// 跳转链接（必填）
    /// </summary>
    public string Url { get; set; } = string.Empty;

    /// <summary>
    /// 排序值（必填）
    /// </summary>
    public int Sort { get; set; }

    /// <summary>
    /// 状态: 0禁用 1启用，默认启用
    /// </summary>
    public int Status { get; set; } = 1;
}

/// <summary>
/// 福利屋入口更新请求模型
/// </summary>
public class WelfareHouseUpdateRequest
{
    /// <summary>
    /// 名称（必填）
    /// </summary>
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 图片URL（必填）
    /// </summary>
    public string Image { get; set; } = string.Empty;

    /// <summary>
    /// 跳转链接（必填）
    /// </summary>
    public string Url { get; set; } = string.Empty;

    /// <summary>
    /// 排序值（必填）
    /// </summary>
    public int Sort { get; set; }

    /// <summary>
    /// 状态: 0禁用 1启用
    /// </summary>
    public int Status { get; set; }
}

/// <summary>
/// 福利屋入口状态切换请求模型
/// </summary>
public class WelfareHouseStatusRequest
{
    /// <summary>
    /// 状态: 0禁用 1启用
    /// </summary>
    public int Status { get; set; }
}

#endregion
