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.
104 lines
2.5 KiB
104 lines
2.5 KiB
1 year ago
|
using System;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using ChangKeTec.Wms.Models.Enums;
|
||
|
|
||
|
namespace ChangKeTec.Wms.Models.Wms
|
||
|
{
|
||
|
public partial class TS_UNI_API
|
||
|
{
|
||
|
[Key]
|
||
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||
|
public int UID { get; set; }
|
||
|
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
public string InterfaceType { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string TableName { get; set; }
|
||
|
|
||
|
public EnumBillType BillType { get; set; }
|
||
|
|
||
|
public EnumSubBillType SubBillType { get; set; }
|
||
|
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
public string BillNum { get; set; }
|
||
|
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
public string PartCode { get; set; }
|
||
|
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
public string Batch { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string FromLoc { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string ToLoc { get; set; }
|
||
|
|
||
|
[StringLength(8)]
|
||
|
public string FromErpLoc { get; set; }
|
||
|
|
||
|
[StringLength(8)]
|
||
|
public string ToErpLoc { get; set; }
|
||
|
|
||
|
public decimal Qty { get; set; }
|
||
|
|
||
|
public decimal GoodQty { get; set; }
|
||
|
|
||
|
public decimal ScrapQty { get; set; } = 0;
|
||
|
|
||
|
public decimal InvalidQty { get; set; } = 0;
|
||
|
|
||
|
public EnumBillState State { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string CreateOper { get; set; }
|
||
|
|
||
|
public DateTime CreateTime { get; set; }
|
||
|
|
||
|
public DateTime PutTime { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string CustId { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string VendId { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string PoUnit { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string LocUnit { get; set; }
|
||
|
|
||
|
public DateTime ValidDate { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string ErpBillNum { get; set; }
|
||
|
|
||
|
public int ErpLineNum { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string EqptCode { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string EqptType { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string VendBatch { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string WorklineId { get; set; }
|
||
|
|
||
|
public int ProcessId { get; set; }
|
||
|
[StringLength(50)]
|
||
|
public string SourceBillNum { get; set; }
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|