﻿using System;
using System.ComponentModel;

namespace PetShop.Business
{
	/// <summary>
	///		The data structure representation of the 'Orders' table via interface.
	/// </summary>
	/// <remarks>
	/// 	This struct is generated by a tool and should never be modified.
	/// </remarks>
	public interface IOrders 
	{
		/// <summary>			
		/// OrderId : 
		/// </summary>
		/// <remarks>Member of the primary key of the underlying table "Orders"</remarks>
		int OrderId { get; set; }
				
		
		
		/// <summary>
		/// UserId : 
		/// </summary>
		string  UserId  { get; set; }
		
		/// <summary>
		/// OrderDate : 
		/// </summary>
		System.DateTime  OrderDate  { get; set; }
		
		/// <summary>
		/// ShipAddr1 : 
		/// </summary>
		string  ShipAddr1  { get; set; }
		
		/// <summary>
		/// ShipAddr2 : 
		/// </summary>
		string  ShipAddr2  { get; set; }
		
		/// <summary>
		/// ShipCity : 
		/// </summary>
		string  ShipCity  { get; set; }
		
		/// <summary>
		/// ShipState : 
		/// </summary>
		string  ShipState  { get; set; }
		
		/// <summary>
		/// ShipZip : 
		/// </summary>
		string  ShipZip  { get; set; }
		
		/// <summary>
		/// ShipCountry : 
		/// </summary>
		string  ShipCountry  { get; set; }
		
		/// <summary>
		/// BillAddr1 : 
		/// </summary>
		string  BillAddr1  { get; set; }
		
		/// <summary>
		/// BillAddr2 : 
		/// </summary>
		string  BillAddr2  { get; set; }
		
		/// <summary>
		/// BillCity : 
		/// </summary>
		string  BillCity  { get; set; }
		
		/// <summary>
		/// BillState : 
		/// </summary>
		string  BillState  { get; set; }
		
		/// <summary>
		/// BillZip : 
		/// </summary>
		string  BillZip  { get; set; }
		
		/// <summary>
		/// BillCountry : 
		/// </summary>
		string  BillCountry  { get; set; }
		
		/// <summary>
		/// Courier : 
		/// </summary>
		string  Courier  { get; set; }
		
		/// <summary>
		/// TotalPrice : 
		/// </summary>
		decimal  TotalPrice  { get; set; }
		
		/// <summary>
		/// BillToFirstName : 
		/// </summary>
		string  BillToFirstName  { get; set; }
		
		/// <summary>
		/// BillToLastName : 
		/// </summary>
		string  BillToLastName  { get; set; }
		
		/// <summary>
		/// ShipToFirstName : 
		/// </summary>
		string  ShipToFirstName  { get; set; }
		
		/// <summary>
		/// ShipToLastName : 
		/// </summary>
		string  ShipToLastName  { get; set; }
		
		/// <summary>
		/// AuthorizationNumber : 
		/// </summary>
		int  AuthorizationNumber  { get; set; }
		
		/// <summary>
		/// Locale : 
		/// </summary>
		string  Locale  { get; set; }
			
		/// <summary>
		/// Creates a new object that is a copy of the current instance.
		/// </summary>
		/// <returns>A new object that is a copy of this instance.</returns>
		System.Object Clone();
		
		#region Data Properties


		/// <summary>
		///	Holds a collection of entity objects
		///	which are related to this object through the relation _lineItemOrderId
		/// </summary>	
		TList<LineItem> LineItemCollection {  get;  set;}	


		/// <summary>
		///	Holds a collection of entity objects
		///	which are related to this object through the relation _orderStatusOrderId
		/// </summary>	
		TList<OrderStatus> OrderStatusCollection {  get;  set;}	

		#endregion Data Properties

	}
}


