namespace iWareSql.MyDbContext { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class wms_record_trans { [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Id { get; set; } public int MoveType { get; set; } [Required] [StringLength(50)] public string MoveTypeName { get; set; } public int? BusinessType { get; set; } [StringLength(50)] public string BusinessTypeName { get; set; } [StringLength(255)] public string Images { get; set; } public DateTime? ReceiptDate { get; set; } [StringLength(255)] public string Remarks { get; set; } public DateTime? ErpPushTime { get; set; } [StringLength(50)] public string MaterialCode { get; set; } [StringLength(50)] public string MaterialName { get; set; } [StringLength(50)] public string SourcePlaceCode { get; set; } [StringLength(50)] public string SourcePlaceName { get; set; } [StringLength(50)] public string SourceContainerCode { get; set; } [StringLength(50)] public string SourceContainerName { get; set; } [StringLength(50)] public string SourceAreaCode { get; set; } [StringLength(50)] public string SourceAreaName { get; set; } [StringLength(50)] public string ToPlaceCode { get; set; } [StringLength(50)] public string ToPlaceName { get; set; } [StringLength(50)] public string ToWarehouseCode { get; set; } [StringLength(50)] public string ToWarehouseName { get; set; } [StringLength(50)] public string ToAreaCode { get; set; } [StringLength(50)] public string ToAreaName { get; set; } [StringLength(50)] public string SupplierCode { get; set; } [StringLength(50)] public string SupplierName { get; set; } [StringLength(50)] public string ErpOrderNo { get; set; } [StringLength(50)] public string ErpCode { get; set; } [StringLength(255)] public string SN_1d { get; set; } [StringLength(255)] public string SN_2d { get; set; } [StringLength(255)] public string SNCode { get; set; } public long? QCOrderId { get; set; } [StringLength(50)] public string QCOrderNo { get; set; } public int? QCStatus { get; set; } [StringLength(50)] public string QCStatusName { get; set; } public decimal? PassQuantity { get; set; } public decimal? RejectQuantity { get; set; } [StringLength(50)] public string SupplierBatch { get; set; } [StringLength(255)] public string Batch { get; set; } public DateTime? CreateTime { get; set; } public DateTime? UpdateTime { get; set; } public long? CreateUserId { get; set; } [StringLength(64)] public string CreateUserName { get; set; } public long? UpdateUserId { get; set; } [StringLength(64)] public string UpdateUserName { get; set; } public bool IsDelete { get; set; } [StringLength(255)] public string ErpVoucher { get; set; } [StringLength(50)] public string RelationNo { get; set; } [StringLength(50)] public string RelationNoLineNumber { get; set; } public decimal? SourceQuantity { get; set; } [StringLength(255)] public string SourceSNCode { get; set; } public decimal? ToQuantity { get; set; } [StringLength(50)] public string ToContainerCode { get; set; } [StringLength(50)] public string ToContainerName { get; set; } public decimal? ChangeQuantity { get; set; } [StringLength(255)] public string ToSNCode { get; set; } public int? RelationOrderType { get; set; } [StringLength(50)] public string RelationOrderTypeName { get; set; } [StringLength(50)] public string MaterialUnit { get; set; } public int? SourceStockStatus { get; set; } [StringLength(50)] public string SourceStockStatusName { get; set; } public int? ToStockStatus { get; set; } [StringLength(50)] public string ToStockStatusName { get; set; } public int? SourceQCStatus { get; set; } [StringLength(50)] public string SourceQCStatusName { get; set; } public int? ToQCStatus { get; set; } [StringLength(50)] public string ToQCStatusName { get; set; } public int? SourceLockStatus { get; set; } public int? ToLockStatus { get; set; } [StringLength(255)] public string OperReason { get; set; } [StringLength(50)] public string OperUser { get; set; } public DateTime? OperTime { get; set; } [StringLength(500)] public string LockReason { get; set; } [StringLength(500)] public string LockUser { get; set; } public DateTime? LockTime { get; set; } } }