37 lines
1.0 KiB
C#
37 lines
1.0 KiB
C#
|
using MiniExcelLibs.Attributes;
|
|||
|
|
|||
|
namespace Sinvo.EplanHpD.Plugin.WPFUI.Models
|
|||
|
{
|
|||
|
public class LineBomItemModel : LineBomModel
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 机械机构号
|
|||
|
/// </summary>
|
|||
|
[ExcelColumnName("机构号")]
|
|||
|
public string MechanicalNo { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 机械机构名称
|
|||
|
/// </summary>
|
|||
|
[ExcelColumnName("机构名称")]
|
|||
|
public string MechanicalName { get; set; }
|
|||
|
|
|||
|
|
|||
|
public void Assign(LineBomModel lineBomModel)
|
|||
|
{
|
|||
|
DrawingNo = lineBomModel.DrawingNo;
|
|||
|
SeqNo = lineBomModel.SeqNo;
|
|||
|
MaterialNo = lineBomModel.MaterialNo;
|
|||
|
Type = lineBomModel.Type;
|
|||
|
Name = lineBomModel.Name;
|
|||
|
Spec = lineBomModel.Spec;
|
|||
|
Qty = lineBomModel.Qty;
|
|||
|
Unit = lineBomModel.Unit;
|
|||
|
IsLength = lineBomModel.IsLength;
|
|||
|
IsFlexibility = lineBomModel.IsFlexibility;
|
|||
|
|
|||
|
Remark = lineBomModel.Remark;
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|