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.
 
 
 
 
 

41 lines
1.1 KiB

using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ChangKeTec.Wms.Models.Wms
{
public partial class TS_STOCK_FREEZE
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("单据编号")]
public string BillNum { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("物料号")]
public string PartCode { get; set; }
[NotMapped]
[DisplayName("物料描述")]
public string PartDesc => WmsCache.GetPartDesc(PartCode);
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("库位")]
public string LocCode { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("批次")]
public string Batch { get; set; }
[Column(TypeName = "money")]
[DisplayName("数量")]
public decimal Qty { get; set; }
}
}