You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace FactorySystemModel.BusinessModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public class BomModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public BomModel()
|
|
|
|
|
|
{
|
|
|
|
|
|
Code = Name = Version = Type = Quantity = TestNO = "";
|
|
|
|
|
|
Specifications = new List<BomModel>();
|
|
|
|
|
|
}
|
|
|
|
|
|
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<BomModel> Specifications { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 配方层级
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class BomFormulaDto
|
|
|
|
|
|
{
|
|
|
|
|
|
public BomFormulaDto()
|
|
|
|
|
|
{
|
|
|
|
|
|
childs = new List<BomFormulaDto>();
|
|
|
|
|
|
}
|
|
|
|
|
|
public int mId { get; set; }
|
|
|
|
|
|
public bool isNew { get; set; }
|
|
|
|
|
|
public List<BomFormulaDto> childs { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|