using UnityEngine;
using System.Collections.Generic;

namespace ArtResource
{
    /// <summary>
    /// 美术资源表ScriptableObject
    /// 单一数据源：Editor和Runtime都从此加载
    /// </summary>
    [CreateAssetMenu(fileName = "NewArtTable", menuName = "美术资源/资源表配置", order = 1)]
    public class ArtTableSO : ScriptableObject
    {
        /// <summary>
        /// 表ID（全局唯一，系统自动分配）
        /// </summary>
        public int TableId;

        /// <summary>
        /// 表名称（全局唯一，用于标识）
        /// </summary>
        public string TableName;

        /// <summary>
        /// 资源项列表
        /// </summary>
        public List<ArtItemData> Items = new List<ArtItemData>();
    }
}
