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.
81 lines
2.0 KiB
81 lines
2.0 KiB
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TS_SORT_DETAIL
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public long UID { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[StringLength(50)]
|
|
[DisplayName("单据编号")]
|
|
public string BillNum { get; set; }
|
|
|
|
[DisplayName("行号")]
|
|
public int LineNum { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[StringLength(50)]
|
|
[DisplayName("VIN码")]
|
|
public string VinCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("顺序号")]
|
|
public string SeqNum { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 2)]
|
|
[StringLength(50)]
|
|
[DisplayName("物料号")]
|
|
public string PartCode { get; set; }
|
|
|
|
[NotMapped]
|
|
[DisplayName("物料描述")]
|
|
public string PartDesc => WmsCache.GetPartDesc1(PartCode);
|
|
|
|
[DisplayName("箱码")]
|
|
public string BarCode { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("客户物料号")]
|
|
public string CustPartCode { get; set; }
|
|
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("项目编号")]
|
|
public string ProjectId { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("FYON NUMBER")]
|
|
public string FyonNum { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("SUPPLIER")]
|
|
public string VendId { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("DOCK")]
|
|
public string Dock { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("DISPATCH DATE")]
|
|
public string DispatchDate { get; set; }
|
|
|
|
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("状态")]
|
|
public string State { get; set; }
|
|
|
|
[NotMapped]
|
|
public string PartGroup { get; set; }
|
|
}
|
|
}
|
|
|