Skip to content

Data Model of Workspace : Based on Category(Meeting Room)

Zeba Sheikh edited this page Jun 25, 2019 · 11 revisions

Categories:[ { categoryId: 1, categoryName:"Meeting Room", price: 2500, space: { spaceid: 1001, spaceName: 'Novotel Office', spaceImageUrl:' https://storage.googleapis.com/weworkimages/uniimages/intentional-design.png', address: { buildingNumber: 100A, area: "Koramangala", city: "Bengaluru" , state: "KA" , country:"India", pincode: 560034 location:{ latitude: '{{floating(-90.000001, 90)}}', longitude: '{{floating(-180.000001, 180)}}' } } } },

       {
         categoryId: 2,
         categoryName:"Meeting Room",
         price: 3000,
            space: {
             spaceid: 1002,
             spaceName: 'WorkX Office',
             spaceImageUrl:' https://storage.googleapis.com/weworkimages/uniimages/intentional-design.png',
                   address: {
                       buildingNumber: 200B,
	               area: "WhiteField",
                           city: "Bengaluru" ,
                           state: "KA" ,
                           country:"India",
                           pincode: 560030
                               location:{
                                latitude: '{{floating(-90.000001, 90)}}',
                                    longitude: '{{floating(-180.000001, 180)}}'
                                     }
                            }
                     }
        },

           {
         categoryId: 3,
         categoryName:"Meeting Room",
         price: 4500,
            space: {
             spaceid: 1005,
             spaceName: 'Innov8 Office',
             spaceImageUrl:' https://storage.googleapis.com/weworkimages/uniimages/intentional-design.png',
                   address: {
                       buildingNumber: 600D,
	               area: "WhiteField",
                           city: "Bengaluru" ,
                           state: "KA" ,
                           country:"India",
                           pincode: 560654,
                               location:{
                                latitude: '{{floating(-90.000001, 60)}}',
                                    longitude: '{{floating(-180.000001, 17)}}'
                                     }
                            }
                     }
        },
    }]
Clone this wiki locally