added dtos
This commit is contained in:
parent
21eb039301
commit
8e689a8396
23 changed files with 1606 additions and 2 deletions
20
brcm/.idea/dataSources.local.xml
Normal file
20
brcm/.idea/dataSources.local.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="dataSourceStorageLocal" created-in="IU-222.4345.14">
|
||||
<data-source name="localmac" uuid="e1da602a-1461-4afe-ad38-9747a7f59eaa">
|
||||
<database-info product="PostgreSQL" version="15.0" jdbc-version="4.2" driver-name="PostgreSQL JDBC Driver" driver-version="42.5.0" dbms="POSTGRES" exact-version="15.0" exact-driver-version="42.5">
|
||||
<identifier-quote-string>"</identifier-quote-string>
|
||||
</database-info>
|
||||
<case-sensitivity plain-identifiers="lower" quoted-identifiers="exact" />
|
||||
<secret-storage>master_key</secret-storage>
|
||||
<user-name>sivacharan</user-name>
|
||||
<schema-mapping>
|
||||
<introspection-scope>
|
||||
<node kind="database" qname="@">
|
||||
<node kind="schema" qname="@" />
|
||||
</node>
|
||||
</introspection-scope>
|
||||
</schema-mapping>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
||||
12
brcm/.idea/dataSources.xml
Normal file
12
brcm/.idea/dataSources.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="localmac" uuid="e1da602a-1461-4afe-ad38-9747a7f59eaa">
|
||||
<driver-ref>postgresql</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:postgresql://localhost:5432/brcm</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
||||
897
brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa.xml
Normal file
897
brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa.xml
Normal file
|
|
@ -0,0 +1,897 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dataSource name="localmac">
|
||||
<database-model serializer="dbm" dbms="POSTGRES" family-id="POSTGRES" format-version="4.43">
|
||||
<root id="1">
|
||||
<DateStyle>mdy</DateStyle>
|
||||
<Grants>1||-9223372036854775808|c|G
|
||||
1||10|c|G
|
||||
1||10|C|G
|
||||
1||10|T|G
|
||||
4||-9223372036854775808|c|G
|
||||
4||10|c|G
|
||||
4||10|C|G
|
||||
4||10|T|G</Grants>
|
||||
<IntrospectionStateNumber>763</IntrospectionStateNumber>
|
||||
<ServerVersion>15.0</ServerVersion>
|
||||
<StartupTime>1668829780</StartupTime>
|
||||
<TimeZones>true ACDT
|
||||
true ACSST
|
||||
false ACST
|
||||
false ACT
|
||||
false ACWST
|
||||
true ADT
|
||||
true AEDT
|
||||
true AESST
|
||||
false AEST
|
||||
false AFT
|
||||
true AKDT
|
||||
false AKST
|
||||
true ALMST
|
||||
false ALMT
|
||||
false AMST
|
||||
false AMT
|
||||
false ANAST
|
||||
false ANAT
|
||||
false ARST
|
||||
false ART
|
||||
false AST
|
||||
true AWSST
|
||||
false AWST
|
||||
true AZOST
|
||||
false AZOT
|
||||
false AZST
|
||||
false AZT
|
||||
false Africa/Abidjan
|
||||
false Africa/Accra
|
||||
false Africa/Addis_Ababa
|
||||
false Africa/Algiers
|
||||
false Africa/Asmara
|
||||
false Africa/Asmera
|
||||
false Africa/Bamako
|
||||
false Africa/Bangui
|
||||
false Africa/Banjul
|
||||
false Africa/Bissau
|
||||
false Africa/Blantyre
|
||||
false Africa/Brazzaville
|
||||
false Africa/Bujumbura
|
||||
false Africa/Cairo
|
||||
false Africa/Casablanca
|
||||
false Africa/Ceuta
|
||||
false Africa/Conakry
|
||||
false Africa/Dakar
|
||||
false Africa/Dar_es_Salaam
|
||||
false Africa/Djibouti
|
||||
false Africa/Douala
|
||||
false Africa/El_Aaiun
|
||||
false Africa/Freetown
|
||||
false Africa/Gaborone
|
||||
false Africa/Harare
|
||||
false Africa/Johannesburg
|
||||
false Africa/Juba
|
||||
false Africa/Kampala
|
||||
false Africa/Khartoum
|
||||
false Africa/Kigali
|
||||
false Africa/Kinshasa
|
||||
false Africa/Lagos
|
||||
false Africa/Libreville
|
||||
false Africa/Lome
|
||||
false Africa/Luanda
|
||||
false Africa/Lubumbashi
|
||||
false Africa/Lusaka
|
||||
false Africa/Malabo
|
||||
false Africa/Maputo
|
||||
false Africa/Maseru
|
||||
false Africa/Mbabane
|
||||
false Africa/Mogadishu
|
||||
false Africa/Monrovia
|
||||
false Africa/Nairobi
|
||||
false Africa/Ndjamena
|
||||
false Africa/Niamey
|
||||
false Africa/Nouakchott
|
||||
false Africa/Ouagadougou
|
||||
false Africa/Porto-Novo
|
||||
false Africa/Sao_Tome
|
||||
false Africa/Timbuktu
|
||||
false Africa/Tripoli
|
||||
false Africa/Tunis
|
||||
false Africa/Windhoek
|
||||
false America/Adak
|
||||
false America/Anchorage
|
||||
false America/Anguilla
|
||||
false America/Antigua
|
||||
false America/Araguaina
|
||||
false America/Argentina/Buenos_Aires
|
||||
false America/Argentina/Catamarca
|
||||
false America/Argentina/ComodRivadavia
|
||||
false America/Argentina/Cordoba
|
||||
false America/Argentina/Jujuy
|
||||
false America/Argentina/La_Rioja
|
||||
false America/Argentina/Mendoza
|
||||
false America/Argentina/Rio_Gallegos
|
||||
false America/Argentina/Salta
|
||||
false America/Argentina/San_Juan
|
||||
false America/Argentina/San_Luis
|
||||
false America/Argentina/Tucuman
|
||||
false America/Argentina/Ushuaia
|
||||
false America/Aruba
|
||||
true America/Asuncion
|
||||
false America/Atikokan
|
||||
false America/Atka
|
||||
false America/Bahia
|
||||
false America/Bahia_Banderas
|
||||
false America/Barbados
|
||||
false America/Belem
|
||||
false America/Belize
|
||||
false America/Blanc-Sablon
|
||||
false America/Boa_Vista
|
||||
false America/Bogota
|
||||
false America/Boise
|
||||
false America/Buenos_Aires
|
||||
false America/Cambridge_Bay
|
||||
false America/Campo_Grande
|
||||
false America/Cancun
|
||||
false America/Caracas
|
||||
false America/Catamarca
|
||||
false America/Cayenne
|
||||
false America/Cayman
|
||||
false America/Chicago
|
||||
false America/Chihuahua
|
||||
false America/Coral_Harbour
|
||||
false America/Cordoba
|
||||
false America/Costa_Rica
|
||||
false America/Creston
|
||||
false America/Cuiaba
|
||||
false America/Curacao
|
||||
false America/Danmarkshavn
|
||||
false America/Dawson
|
||||
false America/Dawson_Creek
|
||||
false America/Denver
|
||||
false America/Detroit
|
||||
false America/Dominica
|
||||
false America/Edmonton
|
||||
false America/Eirunepe
|
||||
false America/El_Salvador
|
||||
false America/Ensenada
|
||||
false America/Fort_Nelson
|
||||
false America/Fort_Wayne
|
||||
false America/Fortaleza
|
||||
false America/Glace_Bay
|
||||
false America/Godthab
|
||||
false America/Goose_Bay
|
||||
false America/Grand_Turk
|
||||
false America/Grenada
|
||||
false America/Guadeloupe
|
||||
false America/Guatemala
|
||||
false America/Guayaquil
|
||||
false America/Guyana
|
||||
false America/Halifax
|
||||
false America/Havana
|
||||
false America/Hermosillo
|
||||
false America/Indiana/Indianapolis
|
||||
false America/Indiana/Knox
|
||||
false America/Indiana/Marengo
|
||||
false America/Indiana/Petersburg
|
||||
false America/Indiana/Tell_City
|
||||
false America/Indiana/Vevay
|
||||
false America/Indiana/Vincennes
|
||||
false America/Indiana/Winamac
|
||||
false America/Indianapolis
|
||||
false America/Inuvik
|
||||
false America/Iqaluit
|
||||
false America/Jamaica
|
||||
false America/Jujuy
|
||||
false America/Juneau
|
||||
false America/Kentucky/Louisville
|
||||
false America/Kentucky/Monticello
|
||||
false America/Knox_IN
|
||||
false America/Kralendijk
|
||||
false America/La_Paz
|
||||
false America/Lima
|
||||
false America/Los_Angeles
|
||||
false America/Louisville
|
||||
false America/Lower_Princes
|
||||
false America/Maceio
|
||||
false America/Managua
|
||||
false America/Manaus
|
||||
false America/Marigot
|
||||
false America/Martinique
|
||||
false America/Matamoros
|
||||
false America/Mazatlan
|
||||
false America/Mendoza
|
||||
false America/Menominee
|
||||
false America/Merida
|
||||
false America/Metlakatla
|
||||
false America/Mexico_City
|
||||
false America/Miquelon
|
||||
false America/Moncton
|
||||
false America/Monterrey
|
||||
false America/Montevideo
|
||||
false America/Montreal
|
||||
false America/Montserrat
|
||||
false America/Nassau
|
||||
false America/New_York
|
||||
false America/Nipigon
|
||||
false America/Nome
|
||||
false America/Noronha
|
||||
false America/North_Dakota/Beulah
|
||||
false America/North_Dakota/Center
|
||||
false America/North_Dakota/New_Salem
|
||||
false America/Nuuk
|
||||
false America/Ojinaga
|
||||
false America/Panama
|
||||
false America/Pangnirtung
|
||||
false America/Paramaribo
|
||||
false America/Phoenix
|
||||
false America/Port-au-Prince
|
||||
false America/Port_of_Spain
|
||||
false America/Porto_Acre
|
||||
false America/Porto_Velho
|
||||
false America/Puerto_Rico
|
||||
false America/Punta_Arenas
|
||||
false America/Rainy_River
|
||||
false America/Rankin_Inlet
|
||||
false America/Recife
|
||||
false America/Regina
|
||||
false America/Resolute
|
||||
false America/Rio_Branco
|
||||
false America/Rosario
|
||||
false America/Santa_Isabel
|
||||
false America/Santarem
|
||||
true America/Santiago
|
||||
false America/Santo_Domingo
|
||||
false America/Sao_Paulo
|
||||
false America/Scoresbysund
|
||||
false America/Shiprock
|
||||
false America/Sitka
|
||||
false America/St_Barthelemy
|
||||
false America/St_Johns
|
||||
false America/St_Kitts
|
||||
false America/St_Lucia
|
||||
false America/St_Thomas
|
||||
false America/St_Vincent
|
||||
false America/Swift_Current
|
||||
false America/Tegucigalpa
|
||||
false America/Thule
|
||||
false America/Thunder_Bay
|
||||
false America/Tijuana
|
||||
false America/Toronto
|
||||
false America/Tortola
|
||||
false America/Vancouver
|
||||
false America/Virgin
|
||||
false America/Whitehorse
|
||||
false America/Winnipeg
|
||||
false America/Yakutat
|
||||
false America/Yellowknife
|
||||
false Antarctica/Casey
|
||||
false Antarctica/Davis
|
||||
false Antarctica/DumontDUrville
|
||||
true Antarctica/Macquarie
|
||||
false Antarctica/Mawson
|
||||
true Antarctica/McMurdo
|
||||
false Antarctica/Palmer
|
||||
false Antarctica/Rothera
|
||||
true Antarctica/South_Pole
|
||||
false Antarctica/Syowa
|
||||
false Antarctica/Troll
|
||||
false Antarctica/Vostok
|
||||
false Arctic/Longyearbyen
|
||||
false Asia/Aden
|
||||
false Asia/Almaty
|
||||
false Asia/Amman
|
||||
false Asia/Anadyr
|
||||
false Asia/Aqtau
|
||||
false Asia/Aqtobe
|
||||
false Asia/Ashgabat
|
||||
false Asia/Ashkhabad
|
||||
false Asia/Atyrau
|
||||
false Asia/Baghdad
|
||||
false Asia/Bahrain
|
||||
false Asia/Baku
|
||||
false Asia/Bangkok
|
||||
false Asia/Barnaul
|
||||
false Asia/Beirut
|
||||
false Asia/Bishkek
|
||||
false Asia/Brunei
|
||||
false Asia/Calcutta
|
||||
false Asia/Chita
|
||||
false Asia/Choibalsan
|
||||
false Asia/Chongqing
|
||||
false Asia/Chungking
|
||||
false Asia/Colombo
|
||||
false Asia/Dacca
|
||||
false Asia/Damascus
|
||||
false Asia/Dhaka
|
||||
false Asia/Dili
|
||||
false Asia/Dubai
|
||||
false Asia/Dushanbe
|
||||
false Asia/Famagusta
|
||||
false Asia/Gaza
|
||||
false Asia/Harbin
|
||||
false Asia/Hebron
|
||||
false Asia/Ho_Chi_Minh
|
||||
false Asia/Hong_Kong
|
||||
false Asia/Hovd
|
||||
false Asia/Irkutsk
|
||||
false Asia/Istanbul
|
||||
false Asia/Jakarta
|
||||
false Asia/Jayapura
|
||||
false Asia/Jerusalem
|
||||
false Asia/Kabul
|
||||
false Asia/Kamchatka
|
||||
false Asia/Karachi
|
||||
false Asia/Kashgar
|
||||
false Asia/Kathmandu
|
||||
false Asia/Katmandu
|
||||
false Asia/Khandyga
|
||||
false Asia/Kolkata
|
||||
false Asia/Krasnoyarsk
|
||||
false Asia/Kuala_Lumpur
|
||||
false Asia/Kuching
|
||||
false Asia/Kuwait
|
||||
false Asia/Macao
|
||||
false Asia/Macau
|
||||
false Asia/Magadan
|
||||
false Asia/Makassar
|
||||
false Asia/Manila
|
||||
false Asia/Muscat
|
||||
false Asia/Nicosia
|
||||
false Asia/Novokuznetsk
|
||||
false Asia/Novosibirsk
|
||||
false Asia/Omsk
|
||||
false Asia/Oral
|
||||
false Asia/Phnom_Penh
|
||||
false Asia/Pontianak
|
||||
false Asia/Pyongyang
|
||||
false Asia/Qatar
|
||||
false Asia/Qostanay
|
||||
false Asia/Qyzylorda
|
||||
false Asia/Rangoon
|
||||
false Asia/Riyadh
|
||||
false Asia/Saigon
|
||||
false Asia/Sakhalin
|
||||
false Asia/Samarkand
|
||||
false Asia/Seoul
|
||||
false Asia/Shanghai
|
||||
false Asia/Singapore
|
||||
false Asia/Srednekolymsk
|
||||
false Asia/Taipei
|
||||
false Asia/Tashkent
|
||||
false Asia/Tbilisi
|
||||
false Asia/Tehran
|
||||
false Asia/Tel_Aviv
|
||||
false Asia/Thimbu
|
||||
false Asia/Thimphu
|
||||
false Asia/Tokyo
|
||||
false Asia/Tomsk
|
||||
false Asia/Ujung_Pandang
|
||||
false Asia/Ulaanbaatar
|
||||
false Asia/Ulan_Bator
|
||||
false Asia/Urumqi
|
||||
false Asia/Ust-Nera
|
||||
false Asia/Vientiane
|
||||
false Asia/Vladivostok
|
||||
false Asia/Yakutsk
|
||||
false Asia/Yangon
|
||||
false Asia/Yekaterinburg
|
||||
false Asia/Yerevan
|
||||
false Atlantic/Azores
|
||||
false Atlantic/Bermuda
|
||||
false Atlantic/Canary
|
||||
false Atlantic/Cape_Verde
|
||||
false Atlantic/Faeroe
|
||||
false Atlantic/Faroe
|
||||
false Atlantic/Jan_Mayen
|
||||
false Atlantic/Madeira
|
||||
false Atlantic/Reykjavik
|
||||
false Atlantic/South_Georgia
|
||||
false Atlantic/St_Helena
|
||||
false Atlantic/Stanley
|
||||
true Australia/ACT
|
||||
true Australia/Adelaide
|
||||
false Australia/Brisbane
|
||||
true Australia/Broken_Hill
|
||||
true Australia/Canberra
|
||||
true Australia/Currie
|
||||
false Australia/Darwin
|
||||
false Australia/Eucla
|
||||
true Australia/Hobart
|
||||
true Australia/LHI
|
||||
false Australia/Lindeman
|
||||
true Australia/Lord_Howe
|
||||
true Australia/Melbourne
|
||||
true Australia/NSW
|
||||
false Australia/North
|
||||
false Australia/Perth
|
||||
false Australia/Queensland
|
||||
true Australia/South
|
||||
true Australia/Sydney
|
||||
true Australia/Tasmania
|
||||
true Australia/Victoria
|
||||
false Australia/West
|
||||
true Australia/Yancowinna
|
||||
true BDST
|
||||
false BDT
|
||||
false BNT
|
||||
false BORT
|
||||
false BOT
|
||||
false BRA
|
||||
true BRST
|
||||
false BRT
|
||||
true BST
|
||||
false BTT
|
||||
false Brazil/Acre
|
||||
false Brazil/DeNoronha
|
||||
false Brazil/East
|
||||
false Brazil/West
|
||||
true CADT
|
||||
false CAST
|
||||
false CCT
|
||||
true CDT
|
||||
true CEST
|
||||
false CET
|
||||
true CETDST
|
||||
true CHADT
|
||||
false CHAST
|
||||
false CHUT
|
||||
false CKT
|
||||
true CLST
|
||||
true CLT
|
||||
false COT
|
||||
false CST
|
||||
false CST6CDT
|
||||
false CXT
|
||||
false Canada/Atlantic
|
||||
false Canada/Central
|
||||
false Canada/Eastern
|
||||
false Canada/Mountain
|
||||
false Canada/Newfoundland
|
||||
false Canada/Pacific
|
||||
false Canada/Saskatchewan
|
||||
false Canada/Yukon
|
||||
true Chile/Continental
|
||||
true Chile/EasterIsland
|
||||
false Cuba
|
||||
false DAVT
|
||||
false DDUT
|
||||
true EASST
|
||||
true EAST
|
||||
false EAT
|
||||
true EDT
|
||||
true EEST
|
||||
false EET
|
||||
true EETDST
|
||||
true EGST
|
||||
false EGT
|
||||
false EST
|
||||
false EST5EDT
|
||||
false Egypt
|
||||
true Eire
|
||||
false Etc/GMT
|
||||
false Etc/GMT+0
|
||||
false Etc/GMT+1
|
||||
false Etc/GMT+10
|
||||
false Etc/GMT+11
|
||||
false Etc/GMT+12
|
||||
false Etc/GMT+2
|
||||
false Etc/GMT+3
|
||||
false Etc/GMT+4
|
||||
false Etc/GMT+5
|
||||
false Etc/GMT+6
|
||||
false Etc/GMT+7
|
||||
false Etc/GMT+8
|
||||
false Etc/GMT+9
|
||||
false Etc/GMT-0
|
||||
false Etc/GMT-1
|
||||
false Etc/GMT-10
|
||||
false Etc/GMT-11
|
||||
false Etc/GMT-12
|
||||
false Etc/GMT-13
|
||||
false Etc/GMT-14
|
||||
false Etc/GMT-2
|
||||
false Etc/GMT-3
|
||||
false Etc/GMT-4
|
||||
false Etc/GMT-5
|
||||
false Etc/GMT-6
|
||||
false Etc/GMT-7
|
||||
false Etc/GMT-8
|
||||
false Etc/GMT-9
|
||||
false Etc/GMT0
|
||||
false Etc/Greenwich
|
||||
false Etc/UCT
|
||||
false Etc/UTC
|
||||
false Etc/Universal
|
||||
false Etc/Zulu
|
||||
false Europe/Amsterdam
|
||||
false Europe/Andorra
|
||||
false Europe/Astrakhan
|
||||
false Europe/Athens
|
||||
false Europe/Belfast
|
||||
false Europe/Belgrade
|
||||
false Europe/Berlin
|
||||
false Europe/Bratislava
|
||||
false Europe/Brussels
|
||||
false Europe/Bucharest
|
||||
false Europe/Budapest
|
||||
false Europe/Busingen
|
||||
false Europe/Chisinau
|
||||
false Europe/Copenhagen
|
||||
true Europe/Dublin
|
||||
false Europe/Gibraltar
|
||||
false Europe/Guernsey
|
||||
false Europe/Helsinki
|
||||
false Europe/Isle_of_Man
|
||||
false Europe/Istanbul
|
||||
false Europe/Jersey
|
||||
false Europe/Kaliningrad
|
||||
false Europe/Kiev
|
||||
false Europe/Kirov
|
||||
false Europe/Lisbon
|
||||
false Europe/Ljubljana
|
||||
false Europe/London
|
||||
false Europe/Luxembourg
|
||||
false Europe/Madrid
|
||||
false Europe/Malta
|
||||
false Europe/Mariehamn
|
||||
false Europe/Minsk
|
||||
false Europe/Monaco
|
||||
false Europe/Moscow
|
||||
false Europe/Nicosia
|
||||
false Europe/Oslo
|
||||
false Europe/Paris
|
||||
false Europe/Podgorica
|
||||
false Europe/Prague
|
||||
false Europe/Riga
|
||||
false Europe/Rome
|
||||
false Europe/Samara
|
||||
false Europe/San_Marino
|
||||
false Europe/Sarajevo
|
||||
false Europe/Saratov
|
||||
false Europe/Simferopol
|
||||
false Europe/Skopje
|
||||
false Europe/Sofia
|
||||
false Europe/Stockholm
|
||||
false Europe/Tallinn
|
||||
false Europe/Tirane
|
||||
false Europe/Tiraspol
|
||||
false Europe/Ulyanovsk
|
||||
false Europe/Uzhgorod
|
||||
false Europe/Vaduz
|
||||
false Europe/Vatican
|
||||
false Europe/Vienna
|
||||
false Europe/Vilnius
|
||||
false Europe/Volgograd
|
||||
false Europe/Warsaw
|
||||
false Europe/Zagreb
|
||||
false Europe/Zaporozhye
|
||||
false Europe/Zurich
|
||||
false FET
|
||||
true FJST
|
||||
false FJT
|
||||
false FKST
|
||||
false FKT
|
||||
true FNST
|
||||
false FNT
|
||||
false Factory
|
||||
false GALT
|
||||
false GAMT
|
||||
false GB
|
||||
false GB-Eire
|
||||
false GEST
|
||||
false GET
|
||||
false GFT
|
||||
false GILT
|
||||
false GMT
|
||||
false GMT+0
|
||||
false GMT-0
|
||||
false GMT0
|
||||
false GYT
|
||||
false Greenwich
|
||||
false HKT
|
||||
false HST
|
||||
false Hongkong
|
||||
false ICT
|
||||
true IDT
|
||||
false IOT
|
||||
false IRKST
|
||||
false IRKT
|
||||
false IRT
|
||||
false IST
|
||||
false Iceland
|
||||
false Indian/Antananarivo
|
||||
false Indian/Chagos
|
||||
false Indian/Christmas
|
||||
false Indian/Cocos
|
||||
false Indian/Comoro
|
||||
false Indian/Kerguelen
|
||||
false Indian/Mahe
|
||||
false Indian/Maldives
|
||||
false Indian/Mauritius
|
||||
false Indian/Mayotte
|
||||
false Indian/Reunion
|
||||
false Iran
|
||||
false Israel
|
||||
false JAYT
|
||||
false JST
|
||||
false Jamaica
|
||||
false Japan
|
||||
true KDT
|
||||
true KGST
|
||||
false KGT
|
||||
false KOST
|
||||
false KRAST
|
||||
false KRAT
|
||||
false KST
|
||||
false Kwajalein
|
||||
true LHDT
|
||||
false LHST
|
||||
false LIGT
|
||||
false LINT
|
||||
false LKT
|
||||
false Libya
|
||||
false MAGST
|
||||
false MAGT
|
||||
false MART
|
||||
false MAWT
|
||||
true MDT
|
||||
true MEST
|
||||
true MESZ
|
||||
false MET
|
||||
true METDST
|
||||
false MEZ
|
||||
false MHT
|
||||
false MMT
|
||||
false MPT
|
||||
true MSD
|
||||
false MSK
|
||||
false MST
|
||||
false MST7MDT
|
||||
true MUST
|
||||
false MUT
|
||||
false MVT
|
||||
false MYT
|
||||
false Mexico/BajaNorte
|
||||
false Mexico/BajaSur
|
||||
false Mexico/General
|
||||
true NDT
|
||||
false NFT
|
||||
false NOVST
|
||||
false NOVT
|
||||
false NPT
|
||||
false NST
|
||||
false NUT
|
||||
true NZ
|
||||
true NZ-CHAT
|
||||
true NZDT
|
||||
false NZST
|
||||
false NZT
|
||||
false Navajo
|
||||
false OMSST
|
||||
false OMST
|
||||
true PDT
|
||||
false PET
|
||||
false PETST
|
||||
false PETT
|
||||
false PGT
|
||||
false PHOT
|
||||
false PHT
|
||||
true PKST
|
||||
false PKT
|
||||
true PMDT
|
||||
false PMST
|
||||
false PONT
|
||||
false PRC
|
||||
false PST
|
||||
false PST8PDT
|
||||
false PWT
|
||||
true PYST
|
||||
true PYT
|
||||
false Pacific/Apia
|
||||
true Pacific/Auckland
|
||||
false Pacific/Bougainville
|
||||
true Pacific/Chatham
|
||||
false Pacific/Chuuk
|
||||
true Pacific/Easter
|
||||
false Pacific/Efate
|
||||
false Pacific/Enderbury
|
||||
false Pacific/Fakaofo
|
||||
true Pacific/Fiji
|
||||
false Pacific/Funafuti
|
||||
false Pacific/Galapagos
|
||||
false Pacific/Gambier
|
||||
false Pacific/Guadalcanal
|
||||
false Pacific/Guam
|
||||
false Pacific/Honolulu
|
||||
false Pacific/Johnston
|
||||
false Pacific/Kanton
|
||||
false Pacific/Kiritimati
|
||||
false Pacific/Kosrae
|
||||
false Pacific/Kwajalein
|
||||
false Pacific/Majuro
|
||||
false Pacific/Marquesas
|
||||
false Pacific/Midway
|
||||
false Pacific/Nauru
|
||||
false Pacific/Niue
|
||||
true Pacific/Norfolk
|
||||
false Pacific/Noumea
|
||||
false Pacific/Pago_Pago
|
||||
false Pacific/Palau
|
||||
false Pacific/Pitcairn
|
||||
false Pacific/Pohnpei
|
||||
false Pacific/Ponape
|
||||
false Pacific/Port_Moresby
|
||||
false Pacific/Rarotonga
|
||||
false Pacific/Saipan
|
||||
false Pacific/Samoa
|
||||
false Pacific/Tahiti
|
||||
false Pacific/Tarawa
|
||||
false Pacific/Tongatapu
|
||||
false Pacific/Truk
|
||||
false Pacific/Wake
|
||||
false Pacific/Wallis
|
||||
false Pacific/Yap
|
||||
false Poland
|
||||
false Portugal
|
||||
false RET
|
||||
false ROC
|
||||
false ROK
|
||||
true SADT
|
||||
false SAST
|
||||
false SCT
|
||||
false SGT
|
||||
false Singapore
|
||||
false TAHT
|
||||
false TFT
|
||||
false TJT
|
||||
false TKT
|
||||
false TMT
|
||||
false TOT
|
||||
false TRUT
|
||||
false TVT
|
||||
false Turkey
|
||||
false UCT
|
||||
true ULAST
|
||||
false ULAT
|
||||
false US/Alaska
|
||||
false US/Aleutian
|
||||
false US/Arizona
|
||||
false US/Central
|
||||
false US/East-Indiana
|
||||
false US/Eastern
|
||||
false US/Hawaii
|
||||
false US/Indiana-Starke
|
||||
false US/Michigan
|
||||
false US/Mountain
|
||||
false US/Pacific
|
||||
false US/Samoa
|
||||
false UT
|
||||
false UTC
|
||||
true UYST
|
||||
false UYT
|
||||
true UZST
|
||||
false UZT
|
||||
false Universal
|
||||
false VET
|
||||
false VLAST
|
||||
false VLAT
|
||||
false VOLT
|
||||
false VUT
|
||||
false W-SU
|
||||
true WADT
|
||||
false WAKT
|
||||
false WAST
|
||||
false WAT
|
||||
true WDT
|
||||
false WET
|
||||
true WETDST
|
||||
false WFT
|
||||
true WGST
|
||||
false WGT
|
||||
false XJT
|
||||
false YAKST
|
||||
false YAKT
|
||||
false YAPT
|
||||
true YEKST
|
||||
false YEKT
|
||||
false Z
|
||||
false Zulu
|
||||
</TimeZones>
|
||||
</root>
|
||||
<database id="2" parent="1" name="brcm">
|
||||
<Current>1</Current>
|
||||
<ObjectId>16391</ObjectId>
|
||||
<OwnerName>sivacharan</OwnerName>
|
||||
</database>
|
||||
<database id="3" parent="1" name="postgres">
|
||||
<Comment>default administrative connection database</Comment>
|
||||
<ObjectId>5</ObjectId>
|
||||
<OwnerName>postgres</OwnerName>
|
||||
</database>
|
||||
<database id="4" parent="1" name="sivacharan">
|
||||
<ObjectId>16385</ObjectId>
|
||||
<OwnerName>sivacharan</OwnerName>
|
||||
</database>
|
||||
<role id="5" parent="1" name="pg_checkpoint">
|
||||
<ObjectId>4544</ObjectId>
|
||||
</role>
|
||||
<role id="6" parent="1" name="pg_database_owner">
|
||||
<ObjectId>6171</ObjectId>
|
||||
</role>
|
||||
<role id="7" parent="1" name="pg_execute_server_program">
|
||||
<ObjectId>4571</ObjectId>
|
||||
</role>
|
||||
<role id="8" parent="1" name="pg_monitor">
|
||||
<ObjectId>3373</ObjectId>
|
||||
<RoleGrants>3374
|
||||
3375
|
||||
3377</RoleGrants>
|
||||
</role>
|
||||
<role id="9" parent="1" name="pg_read_all_data">
|
||||
<ObjectId>6181</ObjectId>
|
||||
</role>
|
||||
<role id="10" parent="1" name="pg_read_all_settings">
|
||||
<ObjectId>3374</ObjectId>
|
||||
</role>
|
||||
<role id="11" parent="1" name="pg_read_all_stats">
|
||||
<ObjectId>3375</ObjectId>
|
||||
</role>
|
||||
<role id="12" parent="1" name="pg_read_server_files">
|
||||
<ObjectId>4569</ObjectId>
|
||||
</role>
|
||||
<role id="13" parent="1" name="pg_signal_backend">
|
||||
<ObjectId>4200</ObjectId>
|
||||
</role>
|
||||
<role id="14" parent="1" name="pg_stat_scan_tables">
|
||||
<ObjectId>3377</ObjectId>
|
||||
</role>
|
||||
<role id="15" parent="1" name="pg_write_all_data">
|
||||
<ObjectId>6182</ObjectId>
|
||||
</role>
|
||||
<role id="16" parent="1" name="pg_write_server_files">
|
||||
<ObjectId>4570</ObjectId>
|
||||
</role>
|
||||
<role id="17" parent="1" name="postgres">
|
||||
<BypassRls>1</BypassRls>
|
||||
<CanLogin>1</CanLogin>
|
||||
<CreateDb>1</CreateDb>
|
||||
<CreateRole>1</CreateRole>
|
||||
<ObjectId>10</ObjectId>
|
||||
<Replication>1</Replication>
|
||||
<SuperRole>1</SuperRole>
|
||||
</role>
|
||||
<role id="18" parent="1" name="sivacharan">
|
||||
<CanLogin>1</CanLogin>
|
||||
<CreateDb>1</CreateDb>
|
||||
<CreateRole>1</CreateRole>
|
||||
<ObjectId>16384</ObjectId>
|
||||
<SuperRole>1</SuperRole>
|
||||
</role>
|
||||
<tablespace id="19" parent="1" name="pg_default">
|
||||
<ObjectId>1663</ObjectId>
|
||||
<StateNumber>1</StateNumber>
|
||||
<OwnerName>postgres</OwnerName>
|
||||
</tablespace>
|
||||
<tablespace id="20" parent="1" name="pg_global">
|
||||
<ObjectId>1664</ObjectId>
|
||||
<StateNumber>1</StateNumber>
|
||||
<OwnerName>postgres</OwnerName>
|
||||
</tablespace>
|
||||
<schema id="21" parent="2" name="information_schema">
|
||||
<ObjectId>13471</ObjectId>
|
||||
<StateNumber>523</StateNumber>
|
||||
<OwnerName>postgres</OwnerName>
|
||||
</schema>
|
||||
<schema id="22" parent="2" name="pg_catalog">
|
||||
<Comment>system catalog schema</Comment>
|
||||
<ObjectId>11</ObjectId>
|
||||
<StateNumber>517</StateNumber>
|
||||
<OwnerName>postgres</OwnerName>
|
||||
</schema>
|
||||
<schema id="23" parent="2" name="public">
|
||||
<Comment>standard public schema</Comment>
|
||||
<Current>1</Current>
|
||||
<ObjectId>2200</ObjectId>
|
||||
<StateNumber>517</StateNumber>
|
||||
<OwnerName>pg_database_owner</OwnerName>
|
||||
</schema>
|
||||
</database-model>
|
||||
</dataSource>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#n:brcm
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
#n:information_schema
|
||||
!<md> [null, 0, null, null, -2147483648, -2147483648]
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
#n:pg_catalog
|
||||
!<md> [null, 0, null, null, -2147483648, -2147483648]
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
<data-source id="f021bbf7-0a0d-4a70-aada-f67ae5ccf5ea" name="brcm" url="jdbc:postgresql://localhost/brcm" driverClass="org.postgresql.Driver" />
|
||||
</data-sources>
|
||||
<data-source-infos>
|
||||
<data-source-info id="f021bbf7-0a0d-4a70-aada-f67ae5ccf5ea" persistence-unit-name="brcm" />
|
||||
<data-source-info id="e1da602a-1461-4afe-ad38-9747a7f59eaa" persistence-unit-name="brcm" />
|
||||
</data-source-infos>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JpaBuddyIdeaProjectConfig">
|
||||
<option name="renamerInitialized" value="true" />
|
||||
<option name="reverseEngineeringLastDbConnectionId" value="f021bbf7-0a0d-4a70-aada-f67ae5ccf5ea" />
|
||||
<option name="reLastEntityCreationPackage" value="core/src/main/java/entities" />
|
||||
</component>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="FrameworkDetectionExcludesConfiguration">
|
||||
<file type="web" url="file://$PROJECT_DIR$/web" />
|
||||
</component>
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
|
|
|
|||
124
brcm/.idea/uiDesigner.xml
Normal file
124
brcm/.idea/uiDesigner.xml
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<initial-values>
|
||||
<property name="text" value="Button" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="RadioButton" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="CheckBox" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="Label" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<preferred-size width="-1" height="20" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
</project>
|
||||
12
brcm/.jpb/persistence-units.xml
Normal file
12
brcm/.jpb/persistence-units.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PersistenceUnitSettings">
|
||||
<persistence-units>
|
||||
<persistence-unit name="brcm">
|
||||
<packages>
|
||||
<package value="entities" />
|
||||
</packages>
|
||||
</persistence-unit>
|
||||
</persistence-units>
|
||||
</component>
|
||||
</project>
|
||||
30
brcm/core/src/main/java/dtos/ActivityDto.java
Normal file
30
brcm/core/src/main/java/dtos/ActivityDto.java
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
package dtos;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link entities.Activity} entity
|
||||
*/
|
||||
public class ActivityDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final String name;
|
||||
private final Double price;
|
||||
|
||||
public ActivityDto(Integer id, String name, Double price) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public Double getPrice() {
|
||||
return price;
|
||||
}
|
||||
}
|
||||
48
brcm/core/src/main/java/dtos/AddressDto.java
Normal file
48
brcm/core/src/main/java/dtos/AddressDto.java
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
package dtos;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link entities.Address} entity
|
||||
*/
|
||||
public class AddressDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final String street;
|
||||
private final String number;
|
||||
private final Integer zipcode;
|
||||
private final String city;
|
||||
private final String state;
|
||||
|
||||
public AddressDto(Integer id, String street, String number, Integer zipcode, String city, String state) {
|
||||
this.id = id;
|
||||
this.street = street;
|
||||
this.number = number;
|
||||
this.zipcode = zipcode;
|
||||
this.city = city;
|
||||
this.state = state;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getStreet() {
|
||||
return street;
|
||||
}
|
||||
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public Integer getZipcode() {
|
||||
return zipcode;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public String getState() {
|
||||
return state;
|
||||
}
|
||||
}
|
||||
43
brcm/core/src/main/java/dtos/AppointmentDto.java
Normal file
43
brcm/core/src/main/java/dtos/AppointmentDto.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package dtos;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.Instant;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link entities.Appointment} entity
|
||||
*/
|
||||
public class AppointmentDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final Instant starttime;
|
||||
private final Instant endtime;
|
||||
private final Integer activityid;
|
||||
private final Integer customerid;
|
||||
|
||||
public AppointmentDto(Integer id, Instant starttime, Instant endtime, Integer activityid, Integer customerid) {
|
||||
this.id = id;
|
||||
this.starttime = starttime;
|
||||
this.endtime = endtime;
|
||||
this.activityid = activityid;
|
||||
this.customerid = customerid;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public Instant getStarttime() {
|
||||
return starttime;
|
||||
}
|
||||
|
||||
public Instant getEndtime() {
|
||||
return endtime;
|
||||
}
|
||||
|
||||
public Integer getActivityid() {
|
||||
return activityid;
|
||||
}
|
||||
|
||||
public Integer getCustomerid() {
|
||||
return customerid;
|
||||
}
|
||||
}
|
||||
43
brcm/core/src/main/java/dtos/CustomerDto.java
Normal file
43
brcm/core/src/main/java/dtos/CustomerDto.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package dtos;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link entities.Customer} entity
|
||||
*/
|
||||
public class CustomerDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final String firstname;
|
||||
private final String lastname;
|
||||
private final LocalDate dateofbirth;
|
||||
private final String phone;
|
||||
|
||||
public CustomerDto(Integer id, String firstname, String lastname, LocalDate dateofbirth, String phone) {
|
||||
this.id = id;
|
||||
this.firstname = firstname;
|
||||
this.lastname = lastname;
|
||||
this.dateofbirth = dateofbirth;
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getFirstname() {
|
||||
return firstname;
|
||||
}
|
||||
|
||||
public String getLastname() {
|
||||
return lastname;
|
||||
}
|
||||
|
||||
public LocalDate getDateofbirth() {
|
||||
return dateofbirth;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
}
|
||||
49
brcm/core/src/main/java/dtos/DiscountschemeDto.java
Normal file
49
brcm/core/src/main/java/dtos/DiscountschemeDto.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package dtos;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link entities.Discountscheme} entity
|
||||
*/
|
||||
public class DiscountschemeDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final Double pricediscount;
|
||||
private final Double percentdiscount;
|
||||
private final String customertype;
|
||||
private final LocalDate startdate;
|
||||
private final LocalDate enddate;
|
||||
|
||||
public DiscountschemeDto(Integer id, Double pricediscount, Double percentdiscount, String customertype, LocalDate startdate, LocalDate enddate) {
|
||||
this.id = id;
|
||||
this.pricediscount = pricediscount;
|
||||
this.percentdiscount = percentdiscount;
|
||||
this.customertype = customertype;
|
||||
this.startdate = startdate;
|
||||
this.enddate = enddate;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public Double getPricediscount() {
|
||||
return pricediscount;
|
||||
}
|
||||
|
||||
public Double getPercentdiscount() {
|
||||
return percentdiscount;
|
||||
}
|
||||
|
||||
public String getCustomertype() {
|
||||
return customertype;
|
||||
}
|
||||
|
||||
public LocalDate getStartdate() {
|
||||
return startdate;
|
||||
}
|
||||
|
||||
public LocalDate getEnddate() {
|
||||
return enddate;
|
||||
}
|
||||
}
|
||||
31
brcm/core/src/main/java/dtos/HistoricalpriceDto.java
Normal file
31
brcm/core/src/main/java/dtos/HistoricalpriceDto.java
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
package dtos;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link entities.Historicalprice} entity
|
||||
*/
|
||||
public class HistoricalpriceDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final LocalDate date;
|
||||
private final Double price;
|
||||
|
||||
public HistoricalpriceDto(Integer id, LocalDate date, Double price) {
|
||||
this.id = id;
|
||||
this.date = date;
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public LocalDate getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
public Double getPrice() {
|
||||
return price;
|
||||
}
|
||||
}
|
||||
26
brcm/core/src/main/java/dtos/LineitemDto.java
Normal file
26
brcm/core/src/main/java/dtos/LineitemDto.java
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
package dtos;
|
||||
|
||||
import entities.Lineitem;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link Lineitem} entity
|
||||
*/
|
||||
public class LineitemDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final Integer quantity;
|
||||
|
||||
public LineitemDto(Integer id, Integer quantity) {
|
||||
this.id = id;
|
||||
this.quantity = quantity;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public Integer getQuantity() {
|
||||
return quantity;
|
||||
}
|
||||
}
|
||||
46
brcm/core/src/main/java/dtos/OrderDto.java
Normal file
46
brcm/core/src/main/java/dtos/OrderDto.java
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
package dtos;
|
||||
|
||||
import entities.Order;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalTime;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link Order} entity
|
||||
*/
|
||||
public class OrderDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final LocalDate date;
|
||||
private final LocalTime time;
|
||||
private final Double discountapplied;
|
||||
private final String totalprice;
|
||||
|
||||
public OrderDto(Integer id, LocalDate date, LocalTime time, Double discountapplied, String totalprice) {
|
||||
this.id = id;
|
||||
this.date = date;
|
||||
this.time = time;
|
||||
this.discountapplied = discountapplied;
|
||||
this.totalprice = totalprice;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public LocalDate getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
public LocalTime getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public Double getDiscountapplied() {
|
||||
return discountapplied;
|
||||
}
|
||||
|
||||
public String getTotalprice() {
|
||||
return totalprice;
|
||||
}
|
||||
}
|
||||
38
brcm/core/src/main/java/dtos/ProfessorDto.java
Normal file
38
brcm/core/src/main/java/dtos/ProfessorDto.java
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package dtos;
|
||||
|
||||
import entities.Professor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link Professor} entity
|
||||
*/
|
||||
public class ProfessorDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final String department;
|
||||
private final String office;
|
||||
private final String research;
|
||||
|
||||
public ProfessorDto(Integer id, String department, String office, String research) {
|
||||
this.id = id;
|
||||
this.department = department;
|
||||
this.office = office;
|
||||
this.research = research;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getDepartment() {
|
||||
return department;
|
||||
}
|
||||
|
||||
public String getOffice() {
|
||||
return office;
|
||||
}
|
||||
|
||||
public String getResearch() {
|
||||
return research;
|
||||
}
|
||||
}
|
||||
45
brcm/core/src/main/java/dtos/StudentDto.java
Normal file
45
brcm/core/src/main/java/dtos/StudentDto.java
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package dtos;
|
||||
|
||||
import entities.Student;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* A DTO for the {@link Student} entity
|
||||
*/
|
||||
public class StudentDto implements Serializable {
|
||||
private final Integer id;
|
||||
private final LocalDate enterdate;
|
||||
private final String major;
|
||||
private final String minor;
|
||||
private final LocalDate graddate;
|
||||
|
||||
public StudentDto(Integer id, LocalDate enterdate, String major, String minor, LocalDate graddate) {
|
||||
this.id = id;
|
||||
this.enterdate = enterdate;
|
||||
this.major = major;
|
||||
this.minor = minor;
|
||||
this.graddate = graddate;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public LocalDate getEnterdate() {
|
||||
return enterdate;
|
||||
}
|
||||
|
||||
public String getMajor() {
|
||||
return major;
|
||||
}
|
||||
|
||||
public String getMinor() {
|
||||
return minor;
|
||||
}
|
||||
|
||||
public LocalDate getGraddate() {
|
||||
return graddate;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
33
docs/classDiagram.drawio
Normal file
33
docs/classDiagram.drawio
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<mxGraphModel dx="0" dy="0" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" background="none" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="node8" parent="1" vertex="1" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Address</b></p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;">- id: Integer<br/>- street: String<br/>- number: String<br/>- state: String<br/>- zipcode: Integer<br/>- city: String</p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;"> city: String<br/> street: String<br/> state: String<br/> zipcode: Integer<br/> number: String<br/> id: Integer</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=14;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;">
|
||||
<mxGeometry x="-133" y="215" width="143" height="296" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="node6" parent="1" vertex="1" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Appointment</b></p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;">- customerid: Integer<br/>- id: Integer<br/>- starttime: Instant<br/>- activityid: Integer<br/>- endtime: Instant</p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;"> endtime: Instant<br/> customerid: Integer<br/> id: Integer<br/> activityid: Integer<br/> starttime: Instant</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=14;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;">
|
||||
<mxGeometry x="539" y="215" width="164" height="252" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="node1" parent="1" vertex="1" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Customer</b></p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;">- dateofbirth: LocalDate<br/>- firstname: String<br/>- phone: String<br/>- addressid: Address<br/>- lastname: String<br/>- id: Integer</p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;"> dateofbirth: LocalDate<br/> firstname: String<br/> addressid: Address<br/> id: Integer<br/> phone: String<br/> lastname: String</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=14;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;">
|
||||
<mxGeometry x="416" y="-170" width="181" height="296" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="node4" parent="1" vertex="1" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Discountscheme</b></p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;">- customertype: String<br/>- startdate: LocalDate<br/>- pricediscount: Double<br/>- id: Integer<br/>- percentdiscount: Double<br/>- enddate: LocalDate</p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;"> pricediscount: Double<br/> enddate: LocalDate<br/> id: Integer<br/> percentdiscount: Double<br/> customertype: String<br/> startdate: LocalDate</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=14;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;">
|
||||
<mxGeometry x="177" y="-170" width="194" height="296" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="node3" parent="1" vertex="1" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Historicalprice</b></p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;">- date: LocalDate<br/>- price: Double<br/>- activityid: Activity<br/>- id: Integer</p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;"> date: LocalDate<br/> price: Double<br/> activityid: Activity<br/> id: Integer</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=14;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;">
|
||||
<mxGeometry x="-133" y="556" width="158" height="208" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="node0" parent="1" vertex="1" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Lineitem</b></p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;">- appointmentid: Appointment<br/>- quantity: Integer<br/>- orderid: Order<br/>- id: Integer<br/>- activityid: Activity</p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;"> quantity: Integer<br/> activityid: Activity<br/> appointmentid: Appointment<br/> id: Integer<br/> orderid: Order</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=14;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;">
|
||||
<mxGeometry x="55" y="215" width="219" height="262" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="node5" parent="1" vertex="1" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Order</b></p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;">- totalprice: String<br/>- discountapplied: Double<br/>- discountschemeid: Discountscheme<br/>- id: Integer<br/>- time: LocalTime<br/>- date: LocalDate<br/>- customerid: Customer</p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;"> totalprice: String<br/> date: LocalDate<br/> discountapplied: Double<br/> discountschemeid: Discountscheme<br/> customerid: Customer<br/> time: LocalTime<br/> id: Integer</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=14;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;">
|
||||
<mxGeometry x="-133" y="-170" width="265" height="340" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="node7" parent="1" vertex="1" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Professor</b></p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;">- department: String<br/>- id: Integer<br/>- customers: Customer<br/>- office: String<br/>- research: String</p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;"> research: String<br/> department: String<br/> id: Integer<br/> customers: Customer<br/> office: String</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=14;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;">
|
||||
<mxGeometry x="319" y="215" width="175" height="252" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="node2" parent="1" vertex="1" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Student</b></p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;">- minor: String<br/>- customers: Customer<br/>- id: Integer<br/>- graddate: LocalDate<br/>- enterdate: LocalDate<br/>- major: String</p><hr size="1"/><p style="margin:0 0 0 4px;line-height:1.6;"> enterdate: LocalDate<br/> minor: String<br/> major: String<br/> id: Integer<br/> customers: Customer<br/> graddate: LocalDate</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=14;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;">
|
||||
<mxGeometry x="642" y="-170" width="175" height="296" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
Loading…
Reference in a new issue