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 Magento_SKUCustomOption_Relation { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Magento_SKUCustomOption_Relation() { Magento_SKUCustomOptionAdditionalField = new HashSet(); Magento_SKUCustomOptionValue_Relation = new HashSet(); } [Key] public int OptionRelation_Id { get; set; } public int SKURelation_Id { get; set; } public int StoreInfo_Id { get; set; } public int? store_id { get; set; } [Required] [StringLength(250)] public string StoreName { get; set; } public long Product_Id { get; set; } [Required] [StringLength(50)] public string ProductCode { get; set; } [Required] [StringLength(500)] public string ProductName { get; set; } public int? MGT_Product_Id { get; set; } [StringLength(50)] public string MGT_SKU { get; set; } public int? Specification_Id { get; set; } [StringLength(50)] public string SpecificationName { get; set; } public int? option_id { get; set; } [Required] [StringLength(50)] public string optiontitle { get; set; } [StringLength(50)] public string type { get; set; } public int? sort_order { get; set; } public int? is_require { get; set; } public int? 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; } public int? ModifyID { get; set; } [StringLength(50)] public string Modifier { get; set; } public DateTime? ModifyDate { get; set; } public string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Magento_SKUCustomOptionAdditionalField { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Magento_SKUCustomOptionValue_Relation { get; set; } } }