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

4 years ago
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; }
}
}