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_RequisitionList { [Key] public int RequistionList_Id { get; set; } public int Requistion_Id { get; set; } public long Product_Id { get; set; } [Required] [StringLength(50)] public string ProductCode { get; set; } [Required] [StringLength(500)] public string ProductName { get; set; } [Required] [StringLength(300)] public string ProductModel { get; set; } public string ProductSpec { get; set; } [StringLength(50)] public string SmallUnit { get; set; } [StringLength(50)] public string BigUnit { get; set; } public int Quantity { get; set; } public decimal? UnitConvert { get; set; } [StringLength(50)] public string UnitConvertText { get; set; } public DateTime? RequistDate { get; set; } [Column(TypeName = "money")] public decimal? PurchasePrice { get; set; } [Column(TypeName = "money")] public decimal? PurchaseMoney { get; set; } [Column(TypeName = "money")] public decimal? Rate { get; set; } [Column(TypeName = "money")] public decimal? RatePrice { get; set; } [Column(TypeName = "money")] public decimal? RateMoney { get; set; } public DateTime? AdvanceDate { get; set; } public int? Provider_Id { get; set; } [StringLength(50)] public string Provider_Code { get; set; } [StringLength(50)] public string ProviderShortName { get; set; } public byte? Status { 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; } [StringLength(50)] public string DeleteBy { get; set; } public string ExpandFields { get; set; } public virtual Purchase_Requisition Purchase_Requisition { get; set; } } }