Skip to content

Instantly share code, notes, and snippets.

@Khazbs
Created October 5, 2019 09:31
Show Gist options
  • Save Khazbs/323e43a6a6f6f89406e4d639d07f00fa to your computer and use it in GitHub Desktop.
Save Khazbs/323e43a6a6f6f89406e4d639d07f00fa to your computer and use it in GitHub Desktop.
group: Hotel_Adam
RoomType = {
tid:number, rtName:string, nightPrice:number
1, "Standard single room", 40
2, "Standard double room", 50
3, "Luxury double room", 60
4, "Family of four room", 100
}
Room = {
tid:number, rid:number, Number:number, s:number, seaView:boolean
0, 1, 1, 20, false
0, 2, 2, 20, false
0, 3, 3, 20, true
0, 4, 4, 20, false
1, 5, 5, 15, false
1, 11, 11, 20, true
1, 12, 12, 20, false
1, 13, 13, 20, true
2, 14, 14, 25, false
2, 21, 21, 25, true
2, 22, 22, 25, false
2, 23, 23, 25, true
3, 24, 24, 45, true
3, 31, 31, 45, true
}
Guest = {
gid:number, gName:string, email:string, country:string
228, 'Evgeniy Savchenko', 'evgensav@gmail.ru', 'Russia'
229, 'Nikita Usikov', 'nikitus@yandex.ru', 'Ukraine'
230, 'Inna Polinskaya', 'polinkamalinka@gmail.ru', 'Belarus'
231, 'Alexey Gogiev', 'terver@mail.ru', 'Russia'
232, 'Vlad Kuzevanov ', 'keklol@yandex.ru', 'Russia'
233, 'Slava Kuzevanov', 'superslavik@hse.ru', 'Russia'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment