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.
86 lines
2.2 KiB
86 lines
2.2 KiB
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TB_DETAIL
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int UID { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
public string BillNum { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
public string PoBillNum { get; set; }
|
|
|
|
public int PoLineNum { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
public string BarCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
public string PartCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(20)]
|
|
public string Batch { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
public string FromLocCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
public string ToLocCode { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
public decimal Qty { get; set; }
|
|
|
|
public int FromStockState { get; set; }
|
|
|
|
public int ToStockState { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string EqptCode { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string EqptType { get; set; }
|
|
|
|
[Column(TypeName = "date")]
|
|
public DateTime? ShipDate { get; set; }
|
|
|
|
[Column(TypeName = "date")]
|
|
public DateTime? ReceiveDate { get; set; }
|
|
|
|
[Column(TypeName = "date")]
|
|
public DateTime? ProduceDate { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string VendId { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string VendBatch { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string PoUnit { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string LocUnit { get; set; }
|
|
|
|
public DateTime? BillTime { get; set; }
|
|
|
|
public DateTime? EndTime { get; set; }
|
|
|
|
public int? BillState { get; set; }
|
|
|
|
[StringLength(200)]
|
|
public string Remark { get; set; }
|
|
}
|
|
}
|
|
|