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.
126 lines
3.2 KiB
126 lines
3.2 KiB
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using ChangKeTec.Wms.Models.Enums;
|
|
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class VS_STOCK_DETAIL
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public long UID { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[StringLength(50)]
|
|
[DisplayName("箱码")]
|
|
public string BarCode { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[StringLength(50)]
|
|
[DisplayName("库位")]
|
|
public string LocCode { get; set; }
|
|
|
|
|
|
[Key]
|
|
[Column(Order = 2)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
[DisplayName("状态")]
|
|
public EnumStockState State { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("物料号")]
|
|
public string PartCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("批次")]
|
|
public string Batch { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("数量")]
|
|
|
|
public decimal Qty { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[Required(AllowEmptyStrings = true)]
|
|
[DisplayName("供应商编号")]
|
|
public string VendId { get; set; } = "";
|
|
|
|
[DisplayName("供应商名称")]
|
|
public string VendName { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[Required(AllowEmptyStrings = true)]
|
|
[DisplayName("供应商批次")]
|
|
public string VendBatch { get; set; } = "";
|
|
|
|
[DisplayName("描述一")]
|
|
public string PartDesc1 { get; set; }
|
|
|
|
[DisplayName("描述二")]
|
|
public string PartDesc2 { get; set; }
|
|
|
|
[DisplayName("项目编号")]
|
|
public string ProjectId { get; set; }
|
|
|
|
[DisplayName("单位")]
|
|
public string Unit { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("库区")]
|
|
public string AreaCode { get; set; }
|
|
|
|
[DisplayName("ERP库位")]
|
|
public string ErpLocCode { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[Required(AllowEmptyStrings = true)]
|
|
[DisplayName("器具号")]
|
|
public string EqptCode { get; set; } = "";
|
|
|
|
[StringLength(50)]
|
|
|
|
public string PlanOrderId { get; set; }
|
|
|
|
|
|
[Column(TypeName = "money")]
|
|
|
|
public decimal Amount { get; set; }
|
|
|
|
|
|
[DisplayName("收货时间")]
|
|
public DateTime ReceiveDate { get; set; }
|
|
|
|
[Column(TypeName = "date")]
|
|
[DisplayName("生产日期")]
|
|
public DateTime ProduceDate { get; set; }
|
|
|
|
[Column(TypeName = "date")]
|
|
[DisplayName("失效日期")]
|
|
public DateTime OverdueDate { get; set; }
|
|
|
|
[DisplayName("变更时间")]
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("变更数量")]
|
|
public decimal UpdateQty { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("追溯编号")]
|
|
public string TracebackCode { get; set; }
|
|
|
|
|
|
public int VinState { get; set; }
|
|
|
|
[StringLength(500)]
|
|
[DisplayName("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
}
|
|
}
|