namespace iWareExcel.ORM { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("EXCELWorkSheet")] public partial class EXCELWorkSheet { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public EXCELWorkSheet() { EXCELWorkCells = new HashSet(); } public int id { get; set; } [Required] [StringLength(100)] public string name { get; set; } public int workbookid { get; set; } [StringLength(50)] public string workbookname { get; set; } [Required] [StringLength(200)] public string classname { get; set; } public int headstartline { get; set; } public int datastartline { get; set; } public int sheetindex { get; set; } public virtual EXCELWorkBook EXCELWorkBook { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection EXCELWorkCells { get; set; } } }