| 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_DamagedOrderList | 
|     { | 
|         [Key] | 
|         public int DamagedOrderList_Id { get; set; } | 
|   | 
|         public int? DamagedOrder_Id { get; set; } | 
|   | 
|         public int? Product_Id { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string ProductCode { get; set; } | 
|   | 
|         [StringLength(300)] | 
|         public string ProductModel { get; set; } | 
|   | 
|         [StringLength(500)] | 
|         public string ProductName { get; set; } | 
|   | 
|         [StringLength(2000)] | 
|         public string ProductSpec { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string RelationCode { get; set; } | 
|   | 
|         public decimal? Quantity { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? PurchasePrice { get; set; } | 
|   | 
|         [Column(TypeName = "money")] | 
|         public decimal? PurchaseMoney { get; set; } | 
|   | 
|         public DateTime? DamagedData { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string BatchOrder { get; set; } | 
|   | 
|         public DateTime? ProductDate { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string SmallUnit { 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; } | 
|   | 
|         public decimal? Weight { get; set; } | 
|   | 
|         public decimal? TotalWeight { get; set; } | 
|   | 
|         public string ExpandFields { get; set; } | 
|     } | 
| } |