using System;

namespace CncModels.Entity
{
    /// <summary>
    /// cnc_screen_config 大屏卡片配置表
    /// </summary>
    public class ScreenConfig
    {
        /// <summary>主键ID</summary>
        public int Id { get; set; }

        /// <summary>卡片键</summary>
        public string CardKey { get; set; }

        /// <summary>卡片类型</summary>
        public string CardType { get; set; }

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

        /// <summary>指标</summary>
        public string Metric { get; set; }

        /// <summary>维度</summary>
        public string Dimension { get; set; }

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

        /// <summary>是否启用</summary>
        public int IsEnabled { get; set; }

        /// <summary>图表配置（JSON 字符串）</summary>
        public string ChartConfig { get; set; }

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

        /// <summary>修改时间</summary>
        public DateTime UpdatedAt { get; set; }
    }
}
