| 0 | 1 using System; | 
|  | 2 | 
|  | 3 using BLToolkit.Common; | 
|  | 4 using BLToolkit.DataAccess; | 
|  | 5 using BLToolkit.Mapping; | 
|  | 6 | 
|  | 7 namespace PetShop.ObjectModel | 
|  | 8 { | 
|  | 9 	public class Item : EntityBase | 
|  | 10 	{ | 
|  | 11 		[MapField("ItemId"), PrimaryKey]        public string     ID; | 
|  | 12 | 
|  | 13 		[MapField("ProductId")]                 public string     ProductID; | 
|  | 14 		[MapField("Supplier")]                  public int?       SupplierID; | 
|  | 15 | 
|  | 16 		[MapField("ListPrice")]                 public decimal?   Price; | 
|  | 17 		                                        public decimal?   UnitCost; | 
|  | 18 		                                        public ItemStatus Status; | 
|  | 19 		                                        public string     Name; | 
|  | 20 		                                        public string     Image; | 
|  | 21 | 
|  | 22 		[MapField("ProductName"), NonUpdatable] public string     ProductName; | 
|  | 23 		[MapField("Qty"),         NonUpdatable] public int        Quantity; | 
|  | 24 		[MapField("CategoryId"),  NonUpdatable] public string     CategoryID; | 
|  | 25 	} | 
|  | 26 } |