using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace Win_in.Sfs.Basedata.Boms.DTOs; public class BomComponentDTO { [Display(Name = "根物料号")] public string Root { get; set; } [Display(Name = "物料号")] public string Component { get; set; } [Display(Name = "单位")] public string ComponentUom { get; set; } [Display(Name = "用量")] public decimal ComponentQty { get; set; } [Display(Name = "父物料号")] public string ParentComponent { get; set; } [Display(Name = "合计数量")] public decimal SumQty { get; set; } [Display(Name = "层数")] public int Level { get; set; } public List SubComponents { get; set; } [Display(Name = "拆解路径")] public string Path { set; get; } }