| namespace wcftest | 
| { | 
|     using System; | 
|     using System.Collections.Generic; | 
|     using System.ComponentModel.DataAnnotations; | 
|     using System.ComponentModel.DataAnnotations.Schema; | 
|     using System.Data.Entity.Spatial; | 
|   | 
|     [Table("DevAlert")] | 
|     public partial class DevAlert | 
|     { | 
|         public int id { get; set; } | 
|   | 
|         [StringLength(30)] | 
|         public string name { get; set; } | 
|   | 
|         public int type { get; set; } | 
|   | 
|         [StringLength(30)] | 
|         public string eqname { get; set; } | 
|   | 
|         [StringLength(50)] | 
|         public string alertcode { get; set; } | 
|   | 
|         [StringLength(100)] | 
|         public string alertname { get; set; } | 
|   | 
|         public int isfinished { get; set; } | 
|   | 
|         public DateTime? createtime { get; set; } | 
|   | 
|         public DateTime? finishtime { get; set; } | 
|     } | 
| } |