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 Purchase_Enter { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Purchase_Enter() { Purchase_EnterList = new HashSet(); } [Key] public int Enter_Id { get; set; } [Required] [StringLength(50)] public string EnterCode { get; set; } public int? Order_Id { get; set; } [StringLength(50)] public string OrderCode { get; set; } public int User_Id { get; set; } [Required] [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 Storage_Id { get; set; } [StringLength(50)] public string StorageName { get; set; } public int? Provider_Id { get; set; } [StringLength(50)] public string ProviderCode { get; set; } [StringLength(50)] public string ProviderShortName { get; set; } public decimal? TotalQuantity { get; set; } [Column(TypeName = "money")] public decimal? TotalMoney { get; set; } [Column(TypeName = "money")] public decimal? TotalFavourMoney { get; set; } [Column(TypeName = "money")] public decimal? TotalFactMoney { get; set; } [Column(TypeName = "money")] public decimal? Rate { get; set; } [Column(TypeName = "money")] public decimal? TotalRateMoney { get; set; } public DateTime? PayLimitDate { 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 byte? Enable { get; set; } public string Remark { get; set; } public int CreateID { get; set; } [Required] [StringLength(50)] public string Creator { get; set; } public DateTime? CreateDate { get; set; } public int? ModifyID { get; set; } [StringLength(50)] public string Modifier { get; set; } public DateTime? ModifyDate { get; set; } [Column(TypeName = "money")] public decimal SettleMoney { get; set; } [Column(TypeName = "money")] public decimal UnSettleMoney { get; set; } [StringLength(50)] public string DeleteBy { get; set; } public int Consignor_Id { get; set; } [Required] [StringLength(50)] public string ConsignorCode { get; set; } [Required] [StringLength(150)] public string ConsignorName { get; set; } public int? IsPrint { get; set; } [StringLength(50)] public string OrderType { get; set; } [StringLength(50)] public string LpnCode { get; set; } public decimal? TotalWeight { get; set; } [StringLength(300)] public string ContainerNo { get; set; } [StringLength(300)] public string DockCrossing { get; set; } [StringLength(300)] public string SealNo { get; set; } [StringLength(50)] public string SurveyDegree { get; set; } [StringLength(50)] public string StorageDegree { get; set; } [StringLength(50)] public string IsDock { get; set; } [StringLength(50)] public string Abnormal { get; set; } [StringLength(50)] public string AbnormalPieces { get; set; } [StringLength(50)] public string OtherServices { get; set; } [StringLength(50)] public string TruckNo { get; set; } [StringLength(50)] public string Mobile { get; set; } public string ExpandFields { 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; } public int UserProduct_Id { get; set; } [StringLength(50)] public string UserProductCode { get; set; } [StringLength(100)] public string UserProductAlias { get; set; } public int? ProductionLine_Id { get; set; } [StringLength(50)] public string ProductionLineCode { get; set; } [StringLength(50)] public string ProductionLineName { get; set; } [StringLength(50)] public string PartStatus { get; set; } public decimal? DynamicWeight { get; set; } [StringLength(50)] public string PlateCode { get; set; } [StringLength(50)] public string PlateType { get; set; } [StringLength(250)] public string TrackingNumber { get; set; } [StringLength(50)] public string SaleCode { get; set; } [StringLength(50)] public string PoCode { get; set; } public decimal? TotalBigEnterQuantity { get; set; } public decimal? TotalEnterQuantity { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Purchase_EnterList { get; set; } } }