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.
45 lines
1.1 KiB
45 lines
1.1 KiB
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TB_INSPECT_FAIL
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public int UID { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[StringLength(50)]
|
|
public string BillNum { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[StringLength(50)]
|
|
public string BarCode { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 2)]
|
|
[StringLength(50)]
|
|
public string LocCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
public string PartCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
public string Batch { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 3)]
|
|
[StringLength(50)]
|
|
public string FailType { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
public decimal FailQty { get; set; }
|
|
|
|
[StringLength(500)]
|
|
public string Remark { get; set; }
|
|
}
|
|
}
|
|
|