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_ASK { [DatabaseGenerated(DatabaseGeneratedOption.Computed)] public int UID { get; set; } [Key] [Column(Order = 0)] [StringLength(50)] [DisplayName("任务编号")] public string TaskId { get; set; } [Key] [Column(Order = 1)] [StringLength(50)] [DisplayName("物料号")] public string PartCode { get; set; } [NotMapped] [DisplayName("物料描述")] public string PartDesc => WmsCache.GetPartDesc(PartCode); [StringLength(50)] [DisplayName("来源库位")] public string FromLoc { get; set; } [StringLength(50)] [DisplayName("工单编号")] public string OrderId { get; set; } //工单号 [DisplayName("工单顺序号")] public int OrderSeq { get; set; } //工单顺序号 [StringLength(50)] [DisplayName("叫料库位")] public string AskLocCode { get; set; } //叫料库位 [Column(TypeName = "money")] [DisplayName("叫料数量")] public decimal Qty { get; set; } //[DisplayName("状态")] //public EnumTjAntolinState State { get; set; } //状态(0:未读,1:已读) [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 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 Direction { 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提供 } }