You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
2.7 KiB
89 lines
2.7 KiB
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using ChangKeTec.Wms.Models.Enums;
|
|
//using ChangKeTec.Wms.Models.TjAntolin;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TM_TJANTOLIN_MATERIAL_INIT
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public int UID { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[StringLength(50)]
|
|
[DisplayName("工单编号")]
|
|
public string OrderId { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[DisplayName("顺序号")]
|
|
public int PrdSeq { get; set; } // 生产顺序 MES提供
|
|
|
|
[DisplayName("生产日期")]
|
|
public DateTime Date { get; set; } // 生产日期 APS提供
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("物料号")]
|
|
public string PartCode { get; set; }
|
|
|
|
[NotMapped]
|
|
[DisplayName("物料描述")]
|
|
public string PartDesc => WmsCache.GetPartDesc(PartCode);
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("计划数量")]
|
|
public decimal PlanQty { get; set; }
|
|
|
|
//[DisplayName("状态")]
|
|
//public EnumTjAntolinState State { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("车型")]
|
|
public string Vehicle { get; set; } // 车型 APS提供
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("配置类型")]
|
|
public string Configuration { get; set; } // 配置类型 APS提供
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("门方向")]
|
|
public string Direction { get; set; } // 门方向 APS提供
|
|
|
|
|
|
// [StringLength(50)]
|
|
// [DisplayName("模具型号")]
|
|
// public string LaminationModule { get; set; } // 模具型号 APS提供
|
|
//
|
|
// [StringLength(50)]
|
|
// [DisplayName("上饰板皮和缝线")]
|
|
// public string BeltlineSkinStitch { get; set; } // 上饰板皮和缝线 APS提供
|
|
//
|
|
// [StringLength(50)]
|
|
// [DisplayName("中饰板皮和缝线")]
|
|
// public string MidfieldSkinStitch { get; set; } // 中饰板皮和缝线 APS提供
|
|
|
|
|
|
// [StringLength(50)]
|
|
// [DisplayName("配对码")]
|
|
// public string PairCode { get; set; } // 配对码 APS提供
|
|
//
|
|
// [StringLength(50)]
|
|
// [DisplayName("资源")]
|
|
// public string Resource { get; set; } // 资源 APS提供
|
|
//
|
|
// [StringLength(50)]
|
|
// [DisplayName("Runner类型")]
|
|
// public string HighLowRunner { get; set; } // Runner类型 APS提供
|
|
|
|
|
|
|
|
}
|
|
}
|