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.
91 lines
2.5 KiB
91 lines
2.5 KiB
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
/*
|
|
public partial class VIEW_TRANSACTION
|
|
{
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public long UID { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[StringLength(80)]
|
|
public string 操作员 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 2)]
|
|
public DateTime 日志时间 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 3)]
|
|
[StringLength(50)]
|
|
public string 单据号 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 4)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int 单据类型 { get; set; }
|
|
|
|
[NotMapped]
|
|
public string 单据类型名称 => EnumHelper.GetDescription((BillType) 单据类型);
|
|
|
|
[Key]
|
|
[Column(Order = 5)]
|
|
[StringLength(50)]
|
|
public string 箱号 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 6)]
|
|
[StringLength(50)]
|
|
public string 物料号 { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string 描述一 { get; set; }
|
|
[StringLength(50)]
|
|
public string 描述二 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 7)]
|
|
[StringLength(50)]
|
|
public string 批次 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 8, TypeName = "money")]
|
|
public decimal 数量 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 9)]
|
|
[StringLength(50)]
|
|
public string 库位 { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string 器具号 { get; set; }
|
|
[StringLength(50)]
|
|
public string 供应商编号 { get; set; }
|
|
|
|
public int? 单据子类型 { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string 供应商名称 { get; set; }
|
|
[StringLength(50)]
|
|
public string 供应商批次 { get; set; }
|
|
[StringLength(500)]
|
|
public string 备注 { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string 库区 { get; set; }
|
|
|
|
[NotMapped]
|
|
public string 库区名称
|
|
{
|
|
get
|
|
{
|
|
StoreArea area;
|
|
Enum.TryParse(库区, true, out area);
|
|
return EnumHelper.GetDescription(area);
|
|
}
|
|
}
|
|
}
|
|
*/
|
|
}
|
|
|