Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. class Hotel {
  2. attribute string nazwa;
  3. attribute string wojewodztwo;
  4. attribute string miasto;
  5. attribute string nrBudynku;
  6. attribute string kodPocztowy;
  7. attribute long nrTelefonu;
  8. attribute string email;
  9. attribute int liczbaPokoi;
  10. attribute set<Rezerwacja> rezerwacje;
  11. attribute int id;
  12. int sprawdzDostepnosc(in Rezerwacja rezerwacja, in dateTime terminRozpoczecia, in dateTime terminZakonczenia)
  13. }
  14.  
  15. class Wyklad {
  16. attribute string nazwa;
  17. attribute string opis;
  18. attribute dateTime terminRozpoczecia;
  19. attribute dateTime terminZakonczenia;
  20. attribute string nrSali;
  21. attribute Konferencja konferencja;
  22. attribute set<Uzytkownik> uzytkownicy;
  23. attribute int id;
  24. Pracownik[] pracownicyWykladu(in Wyklad wyklad);
  25. }
  26.  
  27. class Konferencja {
  28. attribute string nazwa;
  29. attribute string opis;
  30. attribute Budynek adres;
  31. attribute dateTime terminRozpoczecia;
  32. attribute dateTime terminZakonczenia;
  33. attribute double oplataZaUdzial;
  34. attribute Wyklad[] wyklady;
  35. attribute Uzytkownik[] uzytkownicy;
  36. attribute Sprzet[] potrzebnySprzet;
  37. attribute int id;
  38. }
  39.  
  40. class Budynek {
  41. attribute string wojewodztwo;
  42. attribute string miasto;
  43. attribute string nrBudynku;
  44. attribute string kodPocztowy;
  45. attribute Sala[] sale;
  46. attribute int id;
  47. }
  48.  
  49. class Sprzet {
  50. attribute string nazwa;
  51. attribute double cena;
  52. attribute Dostawca[] dostarczanyPrzez
  53. attribute int id;
  54. }
  55.  
  56. class Dostawca {
  57. attribute string nazwa;
  58. attribute string wojewodztwo;
  59. attribute string miasto;
  60. attribute string nrBudynku;
  61. attribute string kodPocztowy;
  62. attribute long nrTelefonu;
  63. attribute string email;
  64. attribute Sprzet[] dostarczanySprzet;
  65. attribute int id;
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement