4 changed files with 50 additions and 16 deletions
@ -1,24 +1,35 @@ |
|||||
using System; |
using System; |
||||
using System.Collections.Generic; |
using System.Collections.Generic; |
||||
|
using System.ComponentModel.DataAnnotations; |
||||
using System.Linq; |
using System.Linq; |
||||
using System.Text; |
using System.Text; |
||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||
|
using System.Xml.Linq; |
||||
|
|
||||
namespace Win_in.Sfs.Basedata.Boms.DTOs; |
namespace Win_in.Sfs.Basedata.Boms.DTOs; |
||||
public class BomComponentDTO |
public class BomComponentDTO |
||||
{ |
{ |
||||
|
|
||||
|
|
||||
|
|
||||
|
[Display(Name = "根物料号")] |
||||
public string Root { get; set; } |
public string Root { get; set; } |
||||
|
[Display(Name = "物料号")] |
||||
public string Component { get; set; } |
public string Component { get; set; } |
||||
|
[Display(Name = "单位")] |
||||
public string ComponentUom { get; set; } |
public string ComponentUom { get; set; } |
||||
|
[Display(Name = "用量")] |
||||
public decimal ComponentQty { get; set; } |
public decimal ComponentQty { get; set; } |
||||
|
|
||||
|
[Display(Name = "父物料号")] |
||||
public string ParentComponent { get; set; } |
public string ParentComponent { get; set; } |
||||
|
[Display(Name = "合计数量")] |
||||
public decimal SumQty { get; set; } |
public decimal SumQty { get; set; } |
||||
|
|
||||
|
[Display(Name = "层数")] |
||||
public int Level { get; set; } |
public int Level { get; set; } |
||||
public List<BomComponent> SubComponents { get; set; } |
public List<BomComponent> SubComponents { get; set; } |
||||
|
|
||||
|
[Display(Name = "拆解路径")] |
||||
public string Path { set; get; } |
public string Path { set; get; } |
||||
} |
} |
||||
|
Loading…
Reference in new issue