2025-03-10 10:18:11 +08:00

40 lines
1.5 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*******************************************************************************
*Create By CG
*Function 数据源管理
*******************************************************************************/
namespace ZXK.ZPS
{
/// <summary>
/// 每个二级科目下的相关属性
/// </summary>
public class DataItemModel
{
private string _id;
private string _firstName;
private string _secondName;
private string[] _tools;
private string _anmHint;
private string _voiceHint;
public DataItemModel(string id, string firstName, string secondName, string[] tools, string anmHint, string voiceHint)
{
_id = id;
_firstName = firstName;
_secondName = secondName;
_tools = tools;
_anmHint = anmHint;
_voiceHint = voiceHint;
}
public static DataItemModel Default => new DataItemModel("", "", "", new string[0], "", "");
public string ID { get => _id; set => _id = value; }
public string FirstName { get => _firstName; set => _firstName = value; }
public string SecondName { get => _secondName; set => _secondName = value; }
public string[] Tools { get => _tools; set => _tools = value; }
public string AnmHint { get => _anmHint; set => _anmHint = value; }
public string VoiceHint { get => _voiceHint; set => _voiceHint = value; }
}
}