Skip to content

Data model of WorkSpace: Based on Location ( Kormangala)

Zeba Sheikh edited this page Jun 26, 2019 · 4 revisions
    Location:[
               space: {
                     spaceId: 1002,
                     spaceName: 'WorkX Office',
                     spaceImageUrl:' https://storage.googleapis.com/weworkimages/uniimages/intentional-design.png'              price: 3000,
                          address: {
                              buildingNumber: 200B,
                          area: "WhiteField",
                              city: "Bengaluru" ,
                              state: "KA" ,
                              country:"India",
                              pincode: 560030   
                                   category: {
                                           categoryId: 1,
                                           categoryName:"Hot Desk",
                                           price : 3200,
                                                Dimension{
                                                    width: 10;
                                                    height:  10;                   
                                                         }
                                              }
                                      }
                        },
                                 {
                                   spaceId: 1002,
                                   spaceName: 'WorkX Office',
                                   spaceImageUrl:' https://storage.googleapis.com/weworkimages/intentional-design.png'                            price: 3000,
                                        address: {
                                            buildingNumber: 200B,
                                        area: "WhiteField",
                                            city: "Bengaluru" ,
                                            state: "KA" ,
                                            country:"India",
                                            pincode: 560030   
                                                 category: {
                                                         categoryId: 1,
                                                         categoryName:"Hot Desk",
                                                         price : 3200,
                                                            Dimension{
                                                                width: 10;
                                                                height:  10;                   
                                                                     }
                                                             }
                                                    }
                                  },
                         {
                                   spaceId: 1002,
                                   spaceName: 'WorkX Office',
                                   spaceImageUrl:' https://storage.googleapis.com/weworkimages/intentional-design.png'                            price: 3000,
                                        address: {
                                            buildingNumber: 200B,
                                        area: "WhiteField",
                                            city: "Bengaluru" ,
                                            state: "KA" ,
                                            country:"India",
                                            pincode: 560030   
                                                 category: {
                                                         categoryId: 1,
                                                         categoryName:"Hot Desk",
                                                         price : 3200,
                                                               Dimension{
                                                                    width: 10;
                                                                    height:  10;                   
                                                                        }
                                                             }
                                                    }
                                  }
              }     

]

Clone this wiki locally