namespace wcftest.orm
|
{
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Data.Entity.Spatial;
|
|
public partial class vPurchase_OrderList
|
{
|
[Key]
|
[Column(Order = 0)]
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
public int OrderList_Id { get; set; }
|
|
public int? Order_Id { get; set; }
|
|
public int? SourceType { get; set; }
|
|
public int? SourceMainID { get; set; }
|
|
public int? SourceListID { get; set; }
|
|
[Key]
|
[Column(Order = 1)]
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
public long Product_Id { get; set; }
|
|
[Key]
|
[Column(Order = 2)]
|
[StringLength(50)]
|
public string ProductCode { get; set; }
|
|
[StringLength(500)]
|
public string ProductName { get; set; }
|
|
[Key]
|
[Column(Order = 3)]
|
[StringLength(300)]
|
public string ProductModel { get; set; }
|
|
[StringLength(50)]
|
public string SmallUnit { get; set; }
|
|
[StringLength(50)]
|
public string BigUnit { get; set; }
|
|
public decimal? Quantity { get; set; }
|
|
public decimal? UnitConvert { get; set; }
|
|
[StringLength(50)]
|
public string UnitConvertText { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? PurchasePrice { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? PurchaseMoney { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? RatePrice { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? RateMoney { get; set; }
|
|
public decimal? EnterQuantity { get; set; }
|
|
public byte? Enable { get; set; }
|
|
public string Remark { get; set; }
|
|
public int? CreateID { get; set; }
|
|
[StringLength(50)]
|
public string Creator { get; set; }
|
|
public DateTime? CreateDate { get; set; }
|
|
[StringLength(50)]
|
public string OrderCode { get; set; }
|
|
[Key]
|
[Column(Order = 4)]
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
public int Storage_Id { get; set; }
|
|
[Key]
|
[Column(Order = 5)]
|
[StringLength(50)]
|
public string StorageName { get; set; }
|
|
public int? User_Id { get; set; }
|
|
[StringLength(50)]
|
public string UserTrueName { get; set; }
|
|
public int? Dept_Id { get; set; }
|
|
[StringLength(50)]
|
public string DeptName { get; set; }
|
|
public DateTime? ApplyDate { get; set; }
|
|
public int? Provider_Id { get; set; }
|
|
[StringLength(50)]
|
public string ProviderCode { get; set; }
|
|
[StringLength(50)]
|
public string ProviderShortName { get; set; }
|
|
public byte? StatusID { get; set; }
|
|
[StringLength(50)]
|
public string StatusText { get; set; }
|
|
[StringLength(50)]
|
public string Auditor { get; set; }
|
|
public byte? Auditing { get; set; }
|
|
public DateTime? AuditDate { get; set; }
|
|
public decimal? FinishRate { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? Rate { get; set; }
|
|
public byte? CustomProduct { get; set; }
|
|
[StringLength(800)]
|
public string AppendParameter { get; set; }
|
|
[StringLength(50)]
|
public string SingleSignCode { get; set; }
|
|
public string ProductSpec { get; set; }
|
|
public string FromOrderIds { get; set; }
|
|
[Key]
|
[Column(Order = 6)]
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
public int Consignor_Id { get; set; }
|
|
[Key]
|
[Column(Order = 7)]
|
[StringLength(50)]
|
public string ConsignorCode { get; set; }
|
|
[Key]
|
[Column(Order = 8)]
|
[StringLength(150)]
|
public string ConsignorName { get; set; }
|
|
[StringLength(250)]
|
public string TrackingNumber { get; set; }
|
|
[StringLength(50)]
|
public string BatchNumber { get; set; }
|
|
public DateTime? ProduceDate { get; set; }
|
|
[StringLength(50)]
|
public string OrderType { get; set; }
|
|
[Key]
|
[Column(Order = 9)]
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
public int UserProduct_Id { get; set; }
|
|
public int? PlatUser_Id { get; set; }
|
|
[StringLength(50)]
|
public string PlatUserCode { get; set; }
|
|
[StringLength(50)]
|
public string PlatUserName { get; set; }
|
|
[StringLength(50)]
|
public string PlatCorpName { get; set; }
|
|
[StringLength(50)]
|
public string UserProductCode { get; set; }
|
|
[StringLength(100)]
|
public string UserProductAlias { get; set; }
|
|
public decimal? Weight { get; set; }
|
|
[StringLength(50)]
|
public string ContainerNo { get; set; }
|
|
public string ExpandFields { get; set; }
|
|
public string DetailExpandFields { get; set; }
|
|
[StringLength(50)]
|
public string PlateCode { get; set; }
|
|
public int? ProductionLine_Id { get; set; }
|
|
[StringLength(50)]
|
public string productionLineName { get; set; }
|
|
[StringLength(50)]
|
public string ProductionLineCode { get; set; }
|
|
public int? printing { get; set; }
|
|
public decimal? DynamicWeight { get; set; }
|
|
[StringLength(50)]
|
public string poCode { get; set; }
|
|
[StringLength(32)]
|
public string externalNo { get; set; }
|
|
[StringLength(32)]
|
public string externalNo2 { get; set; }
|
|
[StringLength(50)]
|
public string returnOrderCode { get; set; }
|
|
[StringLength(50)]
|
public string finStatusText { get; set; }
|
|
[StringLength(50)]
|
public string returnStatusText { get; set; }
|
|
[StringLength(50)]
|
public string PartStatus { get; set; }
|
|
[StringLength(50)]
|
public string ItemNumber { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField01 { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField02 { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField03 { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField04 { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField05 { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField06 { get; set; }
|
|
public decimal? BigQty { get; set; }
|
|
public decimal? BigUnEnterQuantity { get; set; }
|
|
public decimal? UnEnterQuantity { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField07 { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField08 { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField09 { get; set; }
|
|
[StringLength(300)]
|
public string ExtendField10 { get; set; }
|
|
public decimal? returnQuantity { get; set; }
|
|
public string auditRemark { get; set; }
|
|
public decimal? bigEnterQuantity { get; set; }
|
|
[StringLength(500)]
|
public string specAlias { get; set; }
|
|
[StringLength(500)]
|
public string productBarCode { get; set; }
|
|
[StringLength(50)]
|
public string relationCode { get; set; }
|
}
|
}
|