using System.Collections.Generic; using System.Xml.Serialization; namespace DQ.Construction.NewLook.DataTemplate { /// /// DataTemplate /// [XmlRoot(ElementName = "Config")] public class DataTemplateConfig { /// /// DateTemplateItem /// [XmlElement(ElementName = "Template")] public List Items { get; set; } = new List(); } /// /// DateTemplateItem /// public class DateTemplateConfigItem { /// /// 表名 /// [XmlAttribute(AttributeName = "Table")] public string Table { get; set; } /// /// 关联文件 /// [XmlAttribute(AttributeName = "Link")] public string Link { get; set; } /// /// 当前模板 /// [XmlAttribute(AttributeName = "Last")] public string Last { get; set; } } }