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.
 
 
 
 
 

63 lines
1.7 KiB

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
//using ChangKeTec.Wms.Models.TjAntolin;
namespace ChangKeTec.Wms.Models.Wms
{
public partial class TM_TJANTOLIN_PICK
{
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
public int UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
[DisplayName("任务编号")]
public string TaskId { get; set; }
[StringLength(50)]
[DisplayName("来源库位")]
public string FromLoc { get; set; }
[StringLength(50)]
[DisplayName("目标库位")]
public string ToLoc { 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 Batch { get; set; }
[Column(TypeName = "money")]
[DisplayName("要料数量")]
public decimal AskQty { get; set; }
[Column(TypeName = "money")]
[DisplayName("发料数量")]
public decimal PickQty { get; set; }
//[DisplayName("状态")]
//public EnumTjAntolinState State { get; set; } //状态(0:未读,1:已读)
[StringLength(50)]
[DisplayName("备注")]
public string Remark { get; set; }
public DateTime AskTime { get; set; }
public DateTime EndTime { get; set; }
public string EqptCode { get; set; }
}
}