using System.Collections.Generic; namespace FactorySystemModel.BusinessModel { public class BomModel { public BomModel() { Code = Name = Version = Type = Quantity = TestNO = ""; Specifications = new List(); } public string Code { get; set; } public string Name { get; set; } public string Version { get; set; } public string Type { get; set; } public string Quantity { get; set; } public string TestNO { get; set; } public List Specifications { get; set; } } /// /// 配方层级 /// public class BomFormulaDto { public BomFormulaDto() { childs = new List(); } public int mId { get; set; } public bool isNew { get; set; } public List childs { get; set; } } }