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.
80 lines
2.0 KiB
80 lines
2.0 KiB
1 year ago
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using ChangKeTec.Wms.Models.Enums;
|
||
|
using CK.SCP.Models.Enums;
|
||
|
|
||
|
namespace ChangKeTec.Wms.Models.Wms
|
||
|
{
|
||
|
public partial class VIEW_STOCK_MOVE
|
||
|
{
|
||
|
[Key]
|
||
|
[Column(Order = 0)]
|
||
|
public int UID { get; set; }
|
||
|
|
||
|
public string 原状态 => ((StockState) 来源状态).ToString();
|
||
|
public string 新状态 => ((StockState)目标状态).ToString();
|
||
|
[Key]
|
||
|
[Column(Order = 3)]
|
||
|
[StringLength(50)]
|
||
|
// [DisplayName("hahaha")]
|
||
|
public string 单据号 { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 4)]
|
||
|
[StringLength(50)]
|
||
|
public string 箱号 { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 5)]
|
||
|
[StringLength(50)]
|
||
|
public string 物料号 { get; set; }
|
||
|
|
||
|
//public string 物料描述 => GlobalCache.GetPartDesc(物料号);
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 6)]
|
||
|
[StringLength(20)]
|
||
|
public string 来源批次 { get; set; }
|
||
|
|
||
|
[StringLength(20)]
|
||
|
public string 目标批次 { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 7)]
|
||
|
[StringLength(50)]
|
||
|
public string 来源库位 { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 8)]
|
||
|
[StringLength(50)]
|
||
|
public string 目标库位 { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 9, TypeName = "money")]
|
||
|
public decimal 数量 { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string 器具号 { get; set; }
|
||
|
|
||
|
[StringLength(200)]
|
||
|
public string 备注 { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string 供应商编号 { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string 供应商批次 { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 1)]
|
||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||
|
|
||
|
public int 来源状态 { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 2)]
|
||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||
|
public int 目标状态 { get; set; }
|
||
|
}
|
||
|
}
|