using System.Collections.Generic; namespace Model.Customization._7HJ { public class SecurityCostData { public string Months { get; set; } public string CostSmallDetailCode { get; set; } public string CostSmallDetailId { get; set; } public string UnitName { get; set; } public string ReportDate { get; set; } public string nbA { get; set; } public string nbProjectA { get; set; } public string nbB { get; set; } public string nbProjectB { get; set; } public string nbAB { get; set; } public string nbProjectAB { get; set; } public List OrderItems { get; set; } // 嵌套在Order类内部的OrderItem类 public class OrderItem { public string CostType { get; set; } public string CostName { get; set; } public string CostMoney { get; set; } public string ProjectCostMoney { get; set; } public string CostDef { get; set; } } // Order类的构造函数 public SecurityCostData() { OrderItems = new List(); // 使用嵌套的OrderItem类来实例化列表 } } }