using System;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 悬浮球配置表，存储首页悬浮球配置信息
/// </summary>
public partial class FloatBallConfig
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 状态: 0关闭 1开启
    /// </summary>
    public byte Status { get; set; }

    /// <summary>
    /// 类型: 1展示图片 2跳转页面
    /// </summary>
    public byte Type { get; set; }

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

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

    /// <summary>
    /// X轴位置
    /// </summary>
    public string PositionX { get; set; } = string.Empty;

    /// <summary>
    /// Y轴位置
    /// </summary>
    public string PositionY { get; set; } = string.Empty;

    /// <summary>
    /// 宽度
    /// </summary>
    public string Width { get; set; } = string.Empty;

    /// <summary>
    /// 高度
    /// </summary>
    public string Height { get; set; } = string.Empty;

    /// <summary>
    /// 特效: 0无 1缩放动画
    /// </summary>
    public byte Effect { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    public string? Title { get; set; }

    /// <summary>
    /// 详情图片URL
    /// </summary>
    public string? ImageDetails { get; set; }

    /// <summary>
    /// 背景图片URL
    /// </summary>
    public string? ImageBj { get; set; }

    /// <summary>
    /// 详情图片X偏移
    /// </summary>
    public string? ImageDetailsX { get; set; }

    /// <summary>
    /// 详情图片Y偏移
    /// </summary>
    public string? ImageDetailsY { get; set; }

    /// <summary>
    /// 详情图片宽度
    /// </summary>
    public string? ImageDetailsW { get; set; }

    /// <summary>
    /// 详情图片高度
    /// </summary>
    public string? ImageDetailsH { get; set; }

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

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime UpdatedAt { get; set; }
}
