Created
December 15, 2020 07:20
-
-
Save hunzai/3471693e0f7b4118e68c36086efdfa04 to your computer and use it in GitHub Desktop.
schema room
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"residence": { | |
"id": "", | |
"name": "", | |
"registration_number": "", | |
"owner_name": "", | |
"description": "", | |
"contact": { | |
"phone": "", | |
"email": "" | |
}, | |
"address": { | |
"country": "", | |
"city": "", | |
"district": "", | |
"village": "", | |
"lat": "", | |
"lng": "", | |
"alt": "" | |
} | |
}, | |
"expenses": [ | |
{ | |
"id": "", | |
"date": "", | |
"name": "", | |
"amount": "", | |
"purpose": "", | |
"is_paid": "", | |
"amount_paid": "", | |
"remaining_amount": "", | |
"payment_type": "", | |
"reference": "", | |
"employee_id": "", | |
"receiptUrl": "", | |
"business": { | |
"id": "", | |
"name": "", | |
"contact": { | |
"phone": "", | |
"email": "" | |
}, | |
"address": { | |
"country": "", | |
"city": "", | |
"district": "", | |
"village": "", | |
"lat": "", | |
"lng": "", | |
"alt": "" | |
} | |
} | |
} | |
], | |
"images": [ | |
{ | |
"url": "" | |
}, | |
{ | |
"url": "" | |
} | |
], | |
"rooms": [ | |
{ | |
"id": "", | |
"name": "", | |
"title": "", | |
"description": "", | |
"prices": [ | |
{ | |
"id": 0, | |
"name": "", | |
"amount": "", | |
"discount": "" | |
}, | |
{ | |
"id": 0, | |
"name": "", | |
"amount": "", | |
"discount": "" | |
}, | |
{ | |
"id": 0, | |
"name": "", | |
"amount": "", | |
"discount": "" | |
} | |
], | |
"reservation": [ | |
{ | |
"date": "", | |
"available": "", | |
"description": "", | |
"customer": { | |
"id": "", | |
"cnic": "", | |
"name": "", | |
"phone": "", | |
"email": "" | |
}, | |
"payment": { | |
"id": "", | |
"amount": "", | |
"currency": "", | |
"reference": "", | |
"type": "", | |
"employee": "" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment