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.

119 lines
3.0 KiB

1 year ago
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ChangKeTec.Wms.Models.Wms
{
public partial class VB_INSPECT
{
[Key]
[Column(Order = 0)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int UID { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string BillNum { get; set; }
[Key]
[Column(Order = 2)]
[StringLength(50)]
public string BarCode { get; set; }
[Key]
[Column(Order = 3)]
[StringLength(50)]
public string LocCode { get; set; }
[Key]
[Column(Order = 4)]
[StringLength(50)]
public string PoBillNum { get; set; }
[Key]
[Column(Order = 5)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int PoLine { get; set; }
[Key]
[Column(Order = 6)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int InspectType { get; set; }
[Key]
[Column(Order = 7)]
[StringLength(50)]
public string PartCode { get; set; }
[Key]
[Column(Order = 8)]
[StringLength(50)]
public string Batch { get; set; }
[Key]
[Column(Order = 9, TypeName = "money")]
public decimal ReceiveQty { get; set; }
[Key]
[Column(Order = 10, TypeName = "money")]
public decimal InspQty { get; set; }
[Key]
[Column(Order = 11, TypeName = "money")]
public decimal SampleQty { get; set; }
[Key]
[Column(Order = 12, TypeName = "money")]
public decimal PassQty { get; set; }
[Key]
[Column(Order = 13, TypeName = "money")]
public decimal FailQty { get; set; }
[Key]
[Column(Order = 14, TypeName = "money")]
public decimal CrackQty { get; set; }
[Key]
[Column(Order = 15)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int InspResult { get; set; }
[StringLength(50)]
public string FailReason { get; set; }
[StringLength(200)]
public string VendBatch { get; set; }
public string Remark { get; set; }
[Key]
[Column(Order = 16)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int State { get; set; }
[StringLength(50)]
public string VendId { get; set; }
[StringLength(50)]
public string Unit { get; set; }
[StringLength(50)]
public string PartType { get; set; }
[StringLength(50)]
public string PartKind { get; set; }
[StringLength(50)]
public string PartGroup { get; set; }
[StringLength(50)]
public string ProjectId { get; set; }
[StringLength(50)]
public string PartDesc1 { get; set; }
[StringLength(50)]
public string PartDesc2 { get; set; }
public DateTime BillTime { get; set; }
}
}