From 45601cba792d14b6574cbbf3b5703392c3b2a4a9 Mon Sep 17 00:00:00 2001 From: Mateusz Naszko Date: Tue, 5 Jan 2021 21:10:22 +0100 Subject: [PATCH] =?UTF-8?q?Prze=C5=9Blij=20pliki=20do=20'models'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/models.prj | 931 +++++++++++++++++++++++++++++++--------------- 1 file changed, 638 insertions(+), 293 deletions(-) diff --git a/models/models.prj b/models/models.prj index 1d554ae..c61ed7c 100644 --- a/models/models.prj +++ b/models/models.prj @@ -1,6 +1,6 @@ format 223 "models" - revision 3 + revision 5 modified_by 84 "Szogunek" @@ -91,18 +91,6 @@ format 223 relation_ref 128340 // end - classrelation 128852 // (przylolona) - relation 128468 ---- name "przylolona" - a role_name "" multiplicity "1" private - classrelation_ref 128852 // (przylolona) - b role_name "" multiplicity "1" private - classrelation_ref 128980 // (przylolona) - end - - classrelation 129492 // placi - relation_ref 128724 // placi - end - attribute 131156 "numer" private explicit_type "string" cpp_decl "" @@ -135,6 +123,10 @@ format 223 mysql_decl "" MysqlColumn end + + classrelation 139220 // przyjmuje + relation_ref 136788 // przyjmuje + end end class 128216 "automat" @@ -147,10 +139,6 @@ format 223 explicit_switch_type "" mysql_decl "" - classrelation 128212 // wydawany - relation_ref 128084 // wydawany - end - classrelation 128468 // naprawia relation_ref 128212 // naprawia end @@ -167,18 +155,6 @@ format 223 relation_ref 129108 // end - classrelation 130388 // (przygotowuje) - relation 129236 ---- name "przygotowuje" - a role_name "" multiplicity "1" private - classrelation_ref 130388 // (przygotowuje) - b role_name "" multiplicity "1" private - classrelation_ref 130516 // (przygotowuje) - end - - classrelation 131540 // zapisuje - relation_ref 129748 // zapisuje - end - classrelation 131796 // uzupelnia braki relation_ref 129876 // uzupelnia braki end @@ -204,6 +180,34 @@ format 223 mysql_decl "" MysqlColumn end + + classrelation 138324 // (ma) + relation 136404 ---- name "ma" + a role_name "" multiplicity "1" private + classrelation_ref 138324 // (ma) + b role_name "" multiplicity "1" private + classrelation_ref 138452 // (ma) + end + + classrelation 138580 // (kupuje) + relation 136532 ---- name "kupuje" + a role_name "" multiplicity "1..*" private + classrelation_ref 138580 // (kupuje) + b role_name "" multiplicity "1" private + classrelation_ref 138708 // (kupuje) + end + + classrelation 139348 // (posiada) + relation 136916 ---- name "posiada" + a role_name "" multiplicity "1" private + classrelation_ref 139348 // (posiada) + b role_name "" multiplicity "1" private + classrelation_ref 139476 // (posiada) + end + + classrelation 141268 // posiada + relation_ref 137812 // posiada + end end class 128344 "klient" @@ -228,26 +232,6 @@ format 223 relation_ref 128596 // end - classrelation 129364 // (placi) - relation 128724 ---- name "placi" - a role_name "" multiplicity "1" private - classrelation_ref 129364 // (placi) - b role_name "" multiplicity "1" private - classrelation_ref 129492 // placi - end - - classrelation 129748 // placi - relation_ref 128852 // placi - end - - classrelation 130644 // (Wybiera) - relation 129364 ---- name "Wybiera" - a role_name "" multiplicity "1" private - classrelation_ref 130644 // (Wybiera) - b role_name "" multiplicity "1" private - classrelation_ref 130772 // (Wybiera) - end - classrelation 130900 // relation 129492 ---- a role_name "" private @@ -260,161 +244,16 @@ format 223 relation_ref 129492 // end - classrelation 131156 // (wybiera) - relation 129620 ---- name "wybiera" - a role_name "" multiplicity "1" private - classrelation_ref 131156 // (wybiera) + classrelation 138708 // (kupuje) + relation_ref 136532 // kupuje + end + + classrelation 138836 // (dokonuje) + relation 136660 ---- name "dokonuje" + a role_name "" multiplicity "1..*" private + classrelation_ref 138836 // (dokonuje) b role_name "" multiplicity "1" private - classrelation_ref 131284 // (wybiera) - end - end - - class 128472 "posilek_pakowany" - visibility package - cpp_decl "" - java_decl "" - php_decl "" - python_2_2 python_decl "" - idl_decl "" - explicit_switch_type "" - mysql_decl "" - - classrelation 128084 // (wydawany) - relation 128084 ---- name "wydawany" - a role_name "" multiplicity "1" private - classrelation_ref 128084 // (wydawany) - b role_name "" multiplicity "1..*" private - classrelation_ref 128212 // wydawany - end - - classrelation 130772 // (Wybiera) - relation_ref 129364 // Wybiera - end - - attribute 128468 "nazwa" - private explicit_type "string" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - - attribute 128596 "cena" - private explicit_type "float" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - - attribute 128724 "id" - private explicit_type "int" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - end - - class 128728 "posilek_przygotowywany" - visibility package - cpp_decl "" - java_decl "" - php_decl "" - python_2_2 python_decl "" - idl_decl "" - explicit_switch_type "" - mysql_decl "" - - classrelation 130516 // (przygotowuje) - relation_ref 129236 // przygotowuje - end - - classrelation 131284 // (wybiera) - relation_ref 129620 // wybiera - end - - attribute 128084 "nazwa" - private explicit_type "string" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - - attribute 128212 "cena" - private explicit_type "float" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - - attribute 128340 "id" - private explicit_type "int" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - - attribute 131028 "czas_przygotowywania" - private explicit_type "double" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - end - - class 128856 "pieniadze" - visibility package - cpp_decl "" - java_decl "" - php_decl "" - python_2_2 python_decl "" - idl_decl "" - explicit_switch_type "" - mysql_decl "" - - classrelation 129620 // (placi) - relation 128852 ---- name "placi" - a role_name "" multiplicity "1" private - classrelation_ref 129620 // (placi) - b role_name "" multiplicity "1..*" private - classrelation_ref 129748 // placi - end - - attribute 129620 "wartosc" - private explicit_type "float" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn + classrelation_ref 138964 // (dokonuje) end end @@ -480,18 +319,6 @@ format 223 explicit_switch_type "" mysql_decl "" - classrelation 128980 // (przylolona) - relation_ref 128468 // przylolona - end - - classrelation 129876 // (autoryzacja platnosci karta) - relation 128980 ---- name "autoryzacja platnosci karta" - a role_name "" multiplicity "1" private - classrelation_ref 129876 // (autoryzacja platnosci karta) - b role_name "" multiplicity "1" private - classrelation_ref 130004 // (autoryzacja platnosci karta) - end - attribute 131540 "id_terminala" private explicit_type "int" cpp_decl "" @@ -556,84 +383,6 @@ format 223 end end - class 128084 "System_autoryzacji_platnosci" - visibility package - cpp_decl "" - java_decl "" - php_decl "" - python_2_2 python_decl "" - idl_decl "" - explicit_switch_type "" - mysql_decl "" - - classrelation 130004 // (autoryzacja platnosci karta) - relation_ref 128980 // autoryzacja platnosci karta - end - - classrelation 131412 // (zapisuje) - relation 129748 ---- name "zapisuje" - a role_name "" multiplicity "1" private - classrelation_ref 131412 // (zapisuje) - b role_name "" multiplicity "1" private - classrelation_ref 131540 // zapisuje - end - - attribute 129748 "automat" - private type class_ref 128216 // automat - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - - attribute 129876 "id_transakcji" - private explicit_type "int" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - - attribute 130004 "kwota" - private explicit_type "float" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - - attribute 130132 "karta" - private type class_ref 128088 // karta - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - - attribute 130260 "status" - private explicit_type "string" - cpp_decl "" - java_decl "" - php_decl "" - python_decl "" - idl_decl "" - mysql_decl "" - MysqlColumn - end - end - class 134612 "lokalizacja" visibility package cpp_decl "" @@ -676,6 +425,602 @@ format 223 mysql_decl "" MysqlColumn end + + classrelation 138452 // (ma) + relation_ref 136404 // ma + end + end + + class 141140 "platnosc" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 138964 // (dokonuje) + relation_ref 136660 // dokonuje + end + + classrelation 139092 // (przyjmuje) + relation 136788 ---- name "przyjmuje" + a role_name "" multiplicity "1" private + classrelation_ref 139092 // (przyjmuje) + b role_name "" multiplicity "1..*" private + classrelation_ref 139220 // przyjmuje + end + + classrelation 139860 // (zapisuje sie w) + relation 137172 ---- name "zapisuje sie w" + a role_name "" multiplicity "1" private + classrelation_ref 139860 // (zapisuje sie w) + b role_name "" multiplicity "1" private + classrelation_ref 139988 // (zapisuje sie w) + end + + attribute 146516 "kwota" + private explicit_type "Wartosc" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 152276 // (zawiera) + relation_ref 146516 // zawiera + end + end + + class 141268 "kasa" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 139476 // (posiada) + relation_ref 136916 // posiada + end + + classrelation 144340 // posiada + relation_ref 139348 // posiada + end + + classrelation 151892 // (trafiaj do) + relation 146388 ---- name "trafiaj do" + a role_name "" multiplicity "1..*" private + classrelation_ref 151892 // (trafiaj do) + b role_name "" multiplicity "1" private + classrelation_ref 152020 // (trafiaj do) + end + end + + class 141524 "transakcja" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 139988 // (zapisuje sie w) + relation_ref 137172 // zapisuje sie w + end + + classrelation 140372 // (zawiera) + relation 137428 ---- name "zawiera" + a role_name "" multiplicity "1" private + classrelation_ref 140372 // (zawiera) + b role_name "" multiplicity "1" private + classrelation_ref 140500 // (zawiera) + end + + classrelation 140756 // zawiera + relation_ref 137556 // zawiera + end + + classrelation 143316 // zawiera + relation_ref 138836 // zawiera + end + + classrelation 144084 // ustala + relation_ref 139220 // ustala + end + + attribute 139988 "id_transakcji" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 141780 "godzina_sprzedazy" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + attribute 138068 "godzina" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 138196 "minuta" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 140500 // (zawiera) + relation_ref 137428 // zawiera + end + end + + class 141908 "data_sprzedazy" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + attribute 138324 "rok" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 138452 "miesiac" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 140116 // + relation 137300 ---- + a role_name "" private + classrelation_ref 140116 // + b role_name "" private + classrelation_ref 140244 // + end + + classrelation 140244 // + relation_ref 137300 // + end + + attribute 138580 "dzien" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 140628 // (zawiera) + relation 137556 ---- name "zawiera" + a role_name "" multiplicity "1" private + classrelation_ref 140628 // (zawiera) + b role_name "" multiplicity "1" private + classrelation_ref 140756 // zawiera + end + end + + class 142036 "lista_produktow" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 141140 // (posiada) + relation 137812 ---- name "posiada" + a role_name "" multiplicity "1" private + classrelation_ref 141140 // (posiada) + b role_name "" multiplicity "1" private + classrelation_ref 141268 // posiada + end + + classrelation 141524 // zawiera + relation_ref 137940 // zawiera + end + end + + class 142164 "produkt" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 141396 // (zawiera) + relation 137940 ---- name "zawiera" + a role_name "" multiplicity "1" private + classrelation_ref 141396 // (zawiera) + b role_name "" multiplicity "1..*" private + classrelation_ref 141524 // zawiera + end + + attribute 138836 "nazwa" + private explicit_type "string" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 141780 // jest + relation_ref 138068 // jest + end + + classrelation 142036 // jest + relation_ref 138196 // jest + end + + classrelation 142164 // (posiada) + relation 138324 ---- name "posiada" + a role_name "" multiplicity "1" private + classrelation_ref 142164 // (posiada) + b role_name "" multiplicity "1..*" private + classrelation_ref 142292 // (posiada) + end + + attribute 139348 "numer" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 142292 "produkt_pakowany" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 141652 // (jest) + relation 138068 ---- name "jest" + a role_name "" multiplicity "1" private + classrelation_ref 141652 // (jest) + b role_name "" multiplicity "1" private + classrelation_ref 141780 // jest + end + + classrelation 142804 // posiada + relation_ref 138580 // posiada + end + end + + class 142420 "produkt_przygotowywany" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 141908 // (jest) + relation 138196 ---- name "jest" + a role_name "" multiplicity "1" private + classrelation_ref 141908 // (jest) + b role_name "" multiplicity "1" private + classrelation_ref 142036 // jest + end + + classrelation 142420 // (ma) + relation 138452 ---- name "ma" + a role_name "" multiplicity "1" private + classrelation_ref 142420 // (ma) + b role_name "" multiplicity "1" private + classrelation_ref 142548 // (ma) + end + + classrelation 142932 // (posiada) + relation 138708 ---- name "posiada" + a role_name "" multiplicity "1" private + classrelation_ref 142932 // (posiada) + b role_name "" multiplicity "1" private + classrelation_ref 143060 // (posiada) + end + end + + class 142548 "cena" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 142292 // (posiada) + relation_ref 138324 // posiada + end + + attribute 138964 "calkowite" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 139092 "grosze" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 142676 "czas_przygotowywania" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 142548 // (ma) + relation_ref 138452 // ma + end + + attribute 139220 "sekundy" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 142804 "data_waznosci" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 142676 // (posiada) + relation 138580 ---- name "posiada" + a role_name "" multiplicity "1" private + classrelation_ref 142676 // (posiada) + b role_name "" multiplicity "1" private + classrelation_ref 142804 // posiada + end + + attribute 139476 "rok" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 139604 "miesiac" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 139732 "dzien" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 143060 // (posiada) + relation_ref 138708 // posiada + end + end + + class 142932 "zysk" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 143188 // (zawiera) + relation 138836 ---- name "zawiera" + a role_name "" multiplicity "1" private + classrelation_ref 143188 // (zawiera) + b role_name "" multiplicity "1" private + classrelation_ref 143316 // zawiera + end + + classrelation 144852 // zawiera + relation_ref 139604 // zawiera + end + end + + class 143060 "reszta" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 143956 // (ustala) + relation 139220 ---- name "ustala" + a role_name "" multiplicity "1" private + classrelation_ref 143956 // (ustala) + b role_name "" multiplicity "1" private + classrelation_ref 144084 // ustala + end + + classrelation 145108 // wydawana jest z + relation_ref 139732 // wydawana jest z + end + end + + class 143188 "gotówka" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + attribute 139860 "liczba" + private explicit_type "int" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 144212 // (posiada) + relation 139348 ---- name "posiada" + a role_name "" multiplicity "1" private + classrelation_ref 144212 // (posiada) + b role_name "" multiplicity "1..*" private + classrelation_ref 144340 // posiada + end + + classrelation 144724 // (zawiera) + relation 139604 ---- name "zawiera" + a role_name "" multiplicity "0..1" private + classrelation_ref 144724 // (zawiera) + b role_name "" multiplicity "*" private + classrelation_ref 144852 // zawiera + end + + classrelation 144980 // (wydawana jest z) + relation 139732 ---- name "wydawana jest z" + a role_name "" multiplicity "0..1" private + classrelation_ref 144980 // (wydawana jest z) + b role_name "" multiplicity "1..*" private + classrelation_ref 145108 // wydawana jest z + end + end + + class 149716 "pieniadze" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 152020 // (trafiaj do) + relation_ref 146388 // trafiaj do + end + + classrelation 152148 // (zawiera) + relation 146516 ---- name "zawiera" + a role_name "" multiplicity "1" private + classrelation_ref 152148 // (zawiera) + b role_name "" multiplicity "1..*" private + classrelation_ref 152276 // (zawiera) + end end end end