| namespace iWareSql.MyDbContext | 
| { | 
|     using System; | 
|     using System.Collections.Generic; | 
|     using System.ComponentModel.DataAnnotations; | 
|     using System.ComponentModel.DataAnnotations.Schema; | 
|     using System.Data.Entity.Spatial; | 
|   | 
|     public partial class v_ware_stock_early_warming | 
|     { | 
|         [Key] | 
|         [Column(Order = 0)] | 
|         [DatabaseGenerated(DatabaseGeneratedOption.None)] | 
|         public long Id { get; set; } | 
|   | 
|         [Key] | 
|         [Column(Order = 1)] | 
|         [StringLength(50)] | 
|         public string Code { get; set; } | 
|   | 
|         [StringLength(200)] | 
|         public string Name { get; set; } | 
|   | 
|         public decimal? Miniquantity { get; set; } | 
|   | 
|         public decimal? Maxquantity { get; set; } | 
|   | 
|         [Key] | 
|         [Column(Order = 2)] | 
|         public decimal Quantity { get; set; } | 
|     } | 
| } |