namespace iWareDataCore.ORM { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("BASEMaterial")] public partial class BASEMaterial { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public BASEMaterial() { BASEMaterialVoidLabels = new HashSet(); } public int id { get; set; } [Required] [StringLength(50)] public string name { get; set; } [Required] [StringLength(50)] public string code { get; set; } [StringLength(50)] public string materialno { get; set; } [StringLength(50)] public string version { get; set; } public int status { get; set; } public int typeid { get; set; } [StringLength(50)] public string guaranteeperiod { get; set; } [StringLength(50)] public string unit { get; set; } [StringLength(100)] public string remark { get; set; } [StringLength(100)] public string description { get; set; } public decimal cost { get; set; } [StringLength(20)] public string classificationsociety { get; set; } [StringLength(50)] public string serialno { get; set; } [StringLength(50)] public string verticalposition { get; set; } [StringLength(50)] public string weight { get; set; } [StringLength(50)] public string issueprojectno { get; set; } [StringLength(50)] public string procurementprojectno { get; set; } [StringLength(50)] public string cuttingtype { get; set; } [StringLength(50)] public string pageno { get; set; } [StringLength(50)] public string thick { get; set; } [StringLength(50)] public string wide { get; set; } [StringLength(50)] public string length { get; set; } [StringLength(50)] public string markingpen { get; set; } [StringLength(50)] public string laneseparation { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection BASEMaterialVoidLabels { get; set; } } }