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 CMS_Content { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public CMS_Content() { CMS_Content_ProductDetail = new HashSet(); CMS_Content_ProductLibDetail = new HashSet(); } [Key] public int Content_Id { get; set; } public byte ContentType { get; set; } [Required] [StringLength(100)] public string Title { get; set; } [StringLength(200)] public string SubTitle { get; set; } [StringLength(800)] public string Guibance { get; set; } [StringLength(50)] public string TitleFormat { get; set; } [StringLength(50)] public string SubTitleFormat { get; set; } public byte? IsComment { get; set; } public string URLaddress { get; set; } [StringLength(200)] public string PicURL { get; set; } public int Module_Id { get; set; } [Required] [StringLength(100)] public string ModuleCnName { get; set; } [StringLength(100)] public string Author { get; set; } [StringLength(100)] public string Souce { get; set; } [StringLength(100)] public string Tags { get; set; } [StringLength(50)] public string Propertys { get; set; } [StringLength(200)] public string Template { get; set; } [Column(TypeName = "ntext")] public string Contents { get; set; } [StringLength(200)] public string Metakeywords { get; set; } [StringLength(200)] public string Metadesc { get; set; } [StringLength(255)] public string naviContent { get; set; } public long? ClickCount { get; set; } [StringLength(200)] public string SavePath { get; set; } [StringLength(100)] public string FileName { get; set; } [StringLength(6)] public string FileEXName { get; set; } public byte? IsLock { get; set; } public byte? IsRecyle { get; set; } [StringLength(200)] public string AttachFile { get; set; } public double? VipPrice { get; set; } public double? SalePrice { get; set; } public int? BigType_Id { get; set; } public long? ProductLib_Id { get; set; } [StringLength(50)] public string ProductLibCode { get; set; } [StringLength(250)] public string ProductLibName { get; set; } public int? RecommendNo { get; set; } [StringLength(800)] public string RecommendReason { get; set; } public int? SpecialTopic_Id { get; set; } public int? IsHot { get; set; } public DateTime? BeginTime { get; set; } public DateTime? EndTime { get; set; } public int? Point { get; set; } [StringLength(50)] public string Phone { get; set; } [StringLength(500)] public string LinkUrl { get; set; } [StringLength(500)] public string DiscountInfo { get; set; } [StringLength(500)] public string TopicType { get; set; } [StringLength(50)] public string ActivityStyle { get; set; } [StringLength(100)] public string ActivityBrands { get; set; } [StringLength(255)] public string PicChosenUrl { get; set; } [StringLength(100)] public string ActivityType { get; set; } public int? OrderNo { get; set; } [StringLength(50)] public string Creator { get; set; } public DateTime? CreateDate { get; set; } [StringLength(50)] public string Modifier { get; set; } public DateTime? ModifyDate { get; set; } public byte? Enable { get; set; } public int? Consignor_Id { get; set; } [StringLength(50)] public string ConsignorCode { get; set; } [StringLength(150)] public string ConsignorName { get; set; } [StringLength(150)] public string ConsignorType { get; set; } public long? Product_Id { get; set; } [StringLength(50)] public string ProductCode { get; set; } [StringLength(500)] public string ProductName { get; set; } [StringLength(500)] public string ProductUrl { get; set; } [StringLength(50)] public string ContentCategory { get; set; } [StringLength(50)] public string DisplayName { 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 string ExpandFields { get; set; } public virtual CMS_Module CMS_Module { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CMS_Content_ProductDetail { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CMS_Content_ProductLibDetail { get; set; } } }