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 Base_ProductInfo_SpecRelation
|
{
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
public Base_ProductInfo_SpecRelation()
|
{
|
Base_ProductInfo_SpecValueRelation = new HashSet<Base_ProductInfo_SpecValueRelation>();
|
}
|
|
[Key]
|
public int SpecRelation_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; }
|
|
public int Specification_Id { get; set; }
|
|
[StringLength(50)]
|
public string SpecificationName { get; set; }
|
|
public int? OrderNo { 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 int? Enable { get; set; }
|
|
public string ExpandFields { get; set; }
|
|
public virtual Base_ProductInfo Base_ProductInfo { get; set; }
|
|
public virtual Base_Specification Base_Specification { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Base_ProductInfo_SpecValueRelation> Base_ProductInfo_SpecValueRelation { get; set; }
|
}
|
}
|