You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
2.8 KiB
C#
115 lines
2.8 KiB
C#
using Estsh.Core.Base;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Estsh.Core.Models
|
|
{
|
|
/// <summary>
|
|
/// ,数据实体对象
|
|
/// </summary>
|
|
[Table("sys_bom_detail")]
|
|
[Serializable]
|
|
public class SysBomDetail : BaseEntity
|
|
{
|
|
[Column("bom_id")]
|
|
[DisplayName("BOM 编号")]
|
|
public int BomId { get; set; }
|
|
|
|
[Column("part_id")]
|
|
[DisplayName("父阶零件号")]
|
|
public int PartId { get; set; }
|
|
|
|
[Column("part_no")]
|
|
[DisplayName(" ")]
|
|
public string PartNo { get; set; }
|
|
|
|
[Column("unit")]
|
|
[DisplayName("单位")]
|
|
public string Unit { get; set; }
|
|
|
|
[Column("qty")]
|
|
[DisplayName("用量")]
|
|
public decimal? Qty { get; set; }
|
|
|
|
[Column("item_part_id")]
|
|
[DisplayName("子阶零件号")]
|
|
public int ItemPartId { get; set; }
|
|
|
|
[Column("item_part_no")]
|
|
[DisplayName(" ")]
|
|
public string ItemPartNo { get; set; }
|
|
|
|
[Column("item_group")]
|
|
[DisplayName("分组")]
|
|
public string ItemGroup { get; set; }
|
|
|
|
[Column("item_qty")]
|
|
[DisplayName("用量")]
|
|
public decimal? ItemQty { get; set; }
|
|
|
|
[Column("item_unit")]
|
|
[DisplayName("单位")]
|
|
public string ItemUnit { get; set; }
|
|
|
|
[Column("process_id")]
|
|
[DisplayName("使用此零件的制程编号")]
|
|
public int ProcessId { get; set; }
|
|
|
|
[Column("version")]
|
|
[DisplayName("版本")]
|
|
public string Version { get; set; }
|
|
|
|
[Column("location")]
|
|
[DisplayName("位置")]
|
|
public string Location { get; set; }
|
|
|
|
[Column("vitual_part")]
|
|
[DisplayName("是否虚拟零件")]
|
|
public string VitualPart { get; set; }
|
|
|
|
[Column("step_type")]
|
|
[DisplayName(" ")]
|
|
public int? StepType { get; set; }
|
|
|
|
#region 扩展字段
|
|
|
|
[NotMapped]
|
|
[Column("value")]
|
|
[DisplayName(" ")]
|
|
public string Value { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("key")]
|
|
[DisplayName(" ")]
|
|
public string Key { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("cust_part_no")]
|
|
[DisplayName(" ")]
|
|
public string CustPartNo { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("arrange_flag")]
|
|
[DisplayName(" ")]
|
|
public string ArrangeFlag { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("part_location")]
|
|
[DisplayName(" ")]
|
|
public string PartLocation { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("location_type")]
|
|
[DisplayName(" ")]
|
|
public string LocationType { get; set; }
|
|
|
|
[NotMapped]
|
|
[Column("start_ymd")]
|
|
[DisplayName(" ")]
|
|
public string StartYmd { get; set; }
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|