﻿function LocationBaseClass() {
    this.ID = new Number();
    this.LocalizedName = new String();
}

function ShopsBaseClass() {
    this.ID = new Number();
    this.LocalizedName = new String();
}

function CoordinateClass() {
    this.GMapLatitude = new Number();
    this.GMapLongitude = new Number();
    this.GMapDefaultZoomLevel = new Number();
}

function CountryClass() {
    this.Alpha2EngName = new String();
    this.Alpha3EngName = new String();
    this.Coordinate = new CoordinateClass();
}
CountryClass.prototype = new LocationBaseClass();

function CityClass() {
    this.CountryID = new Number();
    this.IsSatellite = new Boolean();
    this.IsDefault = new Boolean();
    this.Coordinate = new CoordinateClass();
}
CityClass.prototype = new LocationBaseClass();

function AddressClass() {
    this.Country = new CountryClass();
    this.City = new CityClass();
    this.Coordinate = new CoordinateClass();
    this.StreetAddress = new String();
}
AddressClass.prototype = new LocationBaseClass();

function ShopProfileClass() {
    this.Code = new String();
    this.Address = new AddressClass();
    this.WorkingHours = new String();
}
ShopProfileClass.prototype = new ShopsBaseClass();

/*ShopProfileClass.prototype.IsTwentyFourHour = new Boolean();
ShopProfileClass.prototype.LiveTV = new Boolean();
ShopProfileClass.prototype.Bar = new Boolean();*/