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.
106 lines
2.7 KiB
106 lines
2.7 KiB
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using ChangKeTec.Wms.Models.Enums;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class VIEW_INSPECT
|
|
{
|
|
[NotMapped]
|
|
public string 检验结果 => ((InspectResult) InspResult).ToString();
|
|
|
|
[Key]
|
|
[Column(Order = 11, TypeName = "money")]
|
|
public decimal 报检数 { get; set; }
|
|
|
|
|
|
[Key]
|
|
[Column(Order = 13, TypeName = "money")]
|
|
public decimal 合格数 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 14, TypeName = "money")]
|
|
public decimal 不合格数 { get; set; }
|
|
[StringLength(50)]
|
|
public string 不合格原因 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 15, TypeName = "money")]
|
|
public decimal 破坏数 { get; set; }
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int UID { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int 状态 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 2)]
|
|
[StringLength(50)]
|
|
public string 单据号 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 3)]
|
|
[StringLength(50)]
|
|
public string 订单号 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 4)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int 订单行 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 5)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int 检验类型 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 6)]
|
|
[StringLength(50)]
|
|
public string 箱号 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 7)]
|
|
[StringLength(50)]
|
|
public string 库位号 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 8)]
|
|
[StringLength(50)]
|
|
public string 物料号 { get; set; }
|
|
|
|
public string 描述一 { get; set; }
|
|
|
|
public string 描述二 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 9)]
|
|
[StringLength(50)]
|
|
public string 批次 { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 10, TypeName = "money")]
|
|
public decimal 收货数 { get; set; }
|
|
|
|
|
|
[Key]
|
|
[Column(Order = 12, TypeName = "money")]
|
|
public decimal 样本数 { get; set; }
|
|
|
|
|
|
[StringLength(50)]
|
|
public string 供应商编号 { get; set; }
|
|
|
|
[StringLength(200)]
|
|
public string 供应商批次 { get; set; }
|
|
|
|
public string 备注 { get; set; }
|
|
public string 项目编号 { get; set; }
|
|
public string 单位 { get; set; }
|
|
public int InspResult { get; set; }
|
|
|
|
}
|
|
}
|
|
|