Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Hotel {
- attribute string nazwa;
- attribute string wojewodztwo;
- attribute string miasto;
- attribute string nrBudynku;
- attribute string kodPocztowy;
- attribute long nrTelefonu;
- attribute string email;
- attribute int liczbaPokoi;
- attribute set<Rezerwacja> rezerwacje;
- attribute int id;
- int sprawdzDostepnosc(in Rezerwacja rezerwacja, in dateTime terminRozpoczecia, in dateTime terminZakonczenia)
- }
- class Wyklad {
- attribute string nazwa;
- attribute string opis;
- attribute dateTime terminRozpoczecia;
- attribute dateTime terminZakonczenia;
- attribute string nrSali;
- attribute Konferencja konferencja;
- attribute set<Uzytkownik> uzytkownicy;
- attribute int id;
- Pracownik[] pracownicyWykladu(in Wyklad wyklad);
- }
- class Konferencja {
- attribute string nazwa;
- attribute string opis;
- attribute Budynek adres;
- attribute dateTime terminRozpoczecia;
- attribute dateTime terminZakonczenia;
- attribute double oplataZaUdzial;
- attribute Wyklad[] wyklady;
- attribute Uzytkownik[] uzytkownicy;
- attribute Sprzet[] potrzebnySprzet;
- attribute int id;
- }
- class Budynek {
- attribute string wojewodztwo;
- attribute string miasto;
- attribute string nrBudynku;
- attribute string kodPocztowy;
- attribute Sala[] sale;
- attribute int id;
- }
- class Sprzet {
- attribute string nazwa;
- attribute double cena;
- attribute Dostawca[] dostarczanyPrzez
- attribute int id;
- }
- class Dostawca {
- attribute string nazwa;
- attribute string wojewodztwo;
- attribute string miasto;
- attribute string nrBudynku;
- attribute string kodPocztowy;
- attribute long nrTelefonu;
- attribute string email;
- attribute Sprzet[] dostarczanySprzet;
- attribute int id;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement