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.

181 lines
4.3 KiB
C#

using Estsh.Core.Base;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Estsh.Core.Models
{
/// <summary>
/// ,数据实体对象
/// </summary>
[Table("sys_bom")]
[Serializable]
public class SysBom : 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("bom_type")]
[DisplayName("BOM 类型")]
public int BomType { get; set; }
[Column("unit")]
[DisplayName(" ")]
public string Unit { get; set; }
[Column("version")]
[DisplayName("版本")]
public string Version { get; set; }
[Column("remark")]
[DisplayName("备注")]
public string Remark { get; set; }
[Column("start_ymd")]
[DisplayName("开始日期(有效期限)")]
public string StartYmd { get; set; }
[Column("end_ymd")]
[DisplayName("结束日期(有效期限)")]
public string EndYmd { get; set; }
#region 扩展字段
[NotMapped]
[Column("part_spec2")]
[DisplayName("父零件名称")]
public string PartSpec2 { get; set; }
[NotMapped]
[Column("item_part_spec2")]
[DisplayName("子零件名称")]
public string ItemPartSpec2 { get; set; }
[NotMapped]
[Column("item_part_id")]
[DisplayName("子阶零件号")]
public int ItemPartId { get; set; }
[NotMapped]
[Column("part_spec")]
[DisplayName(" ")]
public string PartSpec { get; set; }
[NotMapped]
[Column("item_part_no")]
[DisplayName(" ")]
public string ItemPartNo { get; set; }
[NotMapped]
[Column("item_part_spec")]
[DisplayName(" ")]
public string ItemPartSpec { get; set; }
[NotMapped]
[Column("item_count")]
[DisplayName(" ")]
public string ItemCount { get; set; }
[NotMapped]
[Column("step_type")]
[DisplayName(" ")]
public string StepType { get; set; }
[NotMapped]
[Column("item_group")]
[DisplayName(" ")]
public string ItemGroup { get; set; }
[NotMapped]
[Column("location")]
[DisplayName(" ")]
public string Location { get; set; }
[NotMapped]
[Column("vitual_part")]
[DisplayName(" ")]
public string VitualPart { get; set; }
[NotMapped]
[Column("process_name")]
[DisplayName(" ")]
public string ProcessName { get; set; }
[NotMapped]
[Column("process_id")]
[DisplayName(" ")]
public string ProcessId { get; set; }
[NotMapped]
[Column("guid")]
[DisplayName(" ")]
public string Guid { get; set; }
[NotMapped]
[Column("part_no_f")]
[DisplayName(" ")]
public string PartNof { get; set; }
[NotMapped]
[Column("part_no_z")]
[DisplayName(" ")]
public string PartNoz { get; set; }
[NotMapped]
[Column("virtual_order")]
[DisplayName(" ")]
public string VirtualOrder { get; set; }
[NotMapped]
[Column("part_spec_f")]
[DisplayName(" ")]
public string PartSpecf { get; set; }
[NotMapped]
[Column("part_spec_z")]
[DisplayName(" ")]
public string PartSpecz { get; set; }
[NotMapped]
[Column("fix1")]
[DisplayName(" ")]
public string Fix1 { get; set; }
[NotMapped]
[Column("modelNo")]
[DisplayName(" ")]
public string ModelNo { get; set; }
[NotMapped]
[Column("enum_desc")]
[DisplayName(" ")]
public string EnumDesc { get; set; }
[NotMapped]
[Column("item_qty")]
[DisplayName(" ")]
public string ItemQty { get; set; }
[NotMapped]
[Column("item_unit")]
[DisplayName(" ")]
public string ItemUnit { get; set; }
#endregion
}
}