From a861a370d54cbdc71162e85a0a032d2d8c78a213 Mon Sep 17 00:00:00 2001 From: Catalina VR Date: Tue, 27 May 2025 15:51:14 +0200 Subject: [PATCH] Add files via upload --- association/HELP.md | 27 ++ association/mvnw | 259 ++++++++++++++++++ association/mvnw.cmd | 149 ++++++++++ association/pom.xml | 63 +++++ .../association/AssociationApplication.java | 13 + .../Repository/ChapterRepository.java | 11 + .../Repository/ExpositionRepository.java | 12 + .../Repository/MemberRepository.java | 11 + .../example/association/model/Chapter.java | 51 ++++ .../example/association/model/Conference.java | 26 ++ .../com/example/association/model/Event.java | 67 +++++ .../example/association/model/Exposition.java | 9 + .../com/example/association/model/Guest.java | 48 ++++ .../association/model/GuestStatus.java | 8 + .../com/example/association/model/Member.java | 59 ++++ .../association/model/MemberStatus.java | 7 + .../example/association/model/Speaker.java | 46 ++++ .../src/main/resources/application.properties | 15 + .../AssociationApplicationTests.java | 13 + .../target/classes/application.properties | 15 + .../association/AssociationApplication.class | Bin 0 -> 768 bytes .../example/association/model/Chapter.class | Bin 0 -> 1513 bytes .../association/model/Conference.class | Bin 0 -> 1156 bytes .../com/example/association/model/Event.class | Bin 0 -> 2393 bytes .../association/model/Exposition.class | Bin 0 -> 465 bytes .../com/example/association/model/Guest.class | Bin 0 -> 1753 bytes .../association/model/GuestStatus.class | Bin 0 -> 1264 bytes .../example/association/model/Member.class | Bin 0 -> 1016 bytes .../association/model/MemberStatus.class | Bin 0 -> 1203 bytes .../example/association/model/Speaker.class | Bin 0 -> 1662 bytes 30 files changed, 909 insertions(+) create mode 100644 association/HELP.md create mode 100644 association/mvnw create mode 100644 association/mvnw.cmd create mode 100644 association/pom.xml create mode 100644 association/src/main/java/com/example/association/AssociationApplication.java create mode 100644 association/src/main/java/com/example/association/Repository/ChapterRepository.java create mode 100644 association/src/main/java/com/example/association/Repository/ExpositionRepository.java create mode 100644 association/src/main/java/com/example/association/Repository/MemberRepository.java create mode 100644 association/src/main/java/com/example/association/model/Chapter.java create mode 100644 association/src/main/java/com/example/association/model/Conference.java create mode 100644 association/src/main/java/com/example/association/model/Event.java create mode 100644 association/src/main/java/com/example/association/model/Exposition.java create mode 100644 association/src/main/java/com/example/association/model/Guest.java create mode 100644 association/src/main/java/com/example/association/model/GuestStatus.java create mode 100644 association/src/main/java/com/example/association/model/Member.java create mode 100644 association/src/main/java/com/example/association/model/MemberStatus.java create mode 100644 association/src/main/java/com/example/association/model/Speaker.java create mode 100644 association/src/main/resources/application.properties create mode 100644 association/src/test/java/com/example/association/AssociationApplicationTests.java create mode 100644 association/target/classes/application.properties create mode 100644 association/target/classes/com/example/association/AssociationApplication.class create mode 100644 association/target/classes/com/example/association/model/Chapter.class create mode 100644 association/target/classes/com/example/association/model/Conference.class create mode 100644 association/target/classes/com/example/association/model/Event.class create mode 100644 association/target/classes/com/example/association/model/Exposition.class create mode 100644 association/target/classes/com/example/association/model/Guest.class create mode 100644 association/target/classes/com/example/association/model/GuestStatus.class create mode 100644 association/target/classes/com/example/association/model/Member.class create mode 100644 association/target/classes/com/example/association/model/MemberStatus.class create mode 100644 association/target/classes/com/example/association/model/Speaker.class diff --git a/association/HELP.md b/association/HELP.md new file mode 100644 index 0000000..5e5c86b --- /dev/null +++ b/association/HELP.md @@ -0,0 +1,27 @@ +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) +* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/3.4.5/maven-plugin) +* [Create an OCI image](https://docs.spring.io/spring-boot/3.4.5/maven-plugin/build-image.html) +* [Spring Web](https://docs.spring.io/spring-boot/3.4.5/reference/web/servlet.html) +* [Spring Data JPA](https://docs.spring.io/spring-boot/3.4.5/reference/data/sql.html#data.sql.jpa-and-spring-data) + +### Guides +The following guides illustrate how to use some features concretely: + +* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) +* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) +* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/) +* [Accessing Data with JPA](https://spring.io/guides/gs/accessing-data-jpa/) +* [Accessing data with MySQL](https://spring.io/guides/gs/accessing-data-mysql/) + +### Maven Parent overrides + +Due to Maven's design, elements are inherited from the parent POM to the project POM. +While most of the inheritance is fine, it also inherits unwanted elements like `` and `` from the parent. +To prevent this, the project POM contains empty overrides for these elements. +If you manually switch to a different parent and actually want the inheritance, you need to remove those overrides. + diff --git a/association/mvnw b/association/mvnw new file mode 100644 index 0000000..19529dd --- /dev/null +++ b/association/mvnw @@ -0,0 +1,259 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Apache Maven Wrapper startup batch script, version 3.3.2 +# +# Optional ENV vars +# ----------------- +# JAVA_HOME - location of a JDK home dir, required when download maven via java source +# MVNW_REPOURL - repo url base for downloading maven distribution +# MVNW_USERNAME/MVNW_PASSWORD - user and password for downloading maven +# MVNW_VERBOSE - true: enable verbose log; debug: trace the mvnw script; others: silence the output +# ---------------------------------------------------------------------------- + +set -euf +[ "${MVNW_VERBOSE-}" != debug ] || set -x + +# OS specific support. +native_path() { printf %s\\n "$1"; } +case "$(uname)" in +CYGWIN* | MINGW*) + [ -z "${JAVA_HOME-}" ] || JAVA_HOME="$(cygpath --unix "$JAVA_HOME")" + native_path() { cygpath --path --windows "$1"; } + ;; +esac + +# set JAVACMD and JAVACCMD +set_java_home() { + # For Cygwin and MinGW, ensure paths are in Unix format before anything is touched + if [ -n "${JAVA_HOME-}" ]; then + if [ -x "$JAVA_HOME/jre/sh/java" ]; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + JAVACCMD="$JAVA_HOME/jre/sh/javac" + else + JAVACMD="$JAVA_HOME/bin/java" + JAVACCMD="$JAVA_HOME/bin/javac" + + if [ ! -x "$JAVACMD" ] || [ ! -x "$JAVACCMD" ]; then + echo "The JAVA_HOME environment variable is not defined correctly, so mvnw cannot run." >&2 + echo "JAVA_HOME is set to \"$JAVA_HOME\", but \"\$JAVA_HOME/bin/java\" or \"\$JAVA_HOME/bin/javac\" does not exist." >&2 + return 1 + fi + fi + else + JAVACMD="$( + 'set' +e + 'unset' -f command 2>/dev/null + 'command' -v java + )" || : + JAVACCMD="$( + 'set' +e + 'unset' -f command 2>/dev/null + 'command' -v javac + )" || : + + if [ ! -x "${JAVACMD-}" ] || [ ! -x "${JAVACCMD-}" ]; then + echo "The java/javac command does not exist in PATH nor is JAVA_HOME set, so mvnw cannot run." >&2 + return 1 + fi + fi +} + +# hash string like Java String::hashCode +hash_string() { + str="${1:-}" h=0 + while [ -n "$str" ]; do + char="${str%"${str#?}"}" + h=$(((h * 31 + $(LC_CTYPE=C printf %d "'$char")) % 4294967296)) + str="${str#?}" + done + printf %x\\n $h +} + +verbose() { :; } +[ "${MVNW_VERBOSE-}" != true ] || verbose() { printf %s\\n "${1-}"; } + +die() { + printf %s\\n "$1" >&2 + exit 1 +} + +trim() { + # MWRAPPER-139: + # Trims trailing and leading whitespace, carriage returns, tabs, and linefeeds. + # Needed for removing poorly interpreted newline sequences when running in more + # exotic environments such as mingw bash on Windows. + printf "%s" "${1}" | tr -d '[:space:]' +} + +# parse distributionUrl and optional distributionSha256Sum, requires .mvn/wrapper/maven-wrapper.properties +while IFS="=" read -r key value; do + case "${key-}" in + distributionUrl) distributionUrl=$(trim "${value-}") ;; + distributionSha256Sum) distributionSha256Sum=$(trim "${value-}") ;; + esac +done <"${0%/*}/.mvn/wrapper/maven-wrapper.properties" +[ -n "${distributionUrl-}" ] || die "cannot read distributionUrl property in ${0%/*}/.mvn/wrapper/maven-wrapper.properties" + +case "${distributionUrl##*/}" in +maven-mvnd-*bin.*) + MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/ + case "${PROCESSOR_ARCHITECTURE-}${PROCESSOR_ARCHITEW6432-}:$(uname -a)" in + *AMD64:CYGWIN* | *AMD64:MINGW*) distributionPlatform=windows-amd64 ;; + :Darwin*x86_64) distributionPlatform=darwin-amd64 ;; + :Darwin*arm64) distributionPlatform=darwin-aarch64 ;; + :Linux*x86_64*) distributionPlatform=linux-amd64 ;; + *) + echo "Cannot detect native platform for mvnd on $(uname)-$(uname -m), use pure java version" >&2 + distributionPlatform=linux-amd64 + ;; + esac + distributionUrl="${distributionUrl%-bin.*}-$distributionPlatform.zip" + ;; +maven-mvnd-*) MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/ ;; +*) MVN_CMD="mvn${0##*/mvnw}" _MVNW_REPO_PATTERN=/org/apache/maven/ ;; +esac + +# apply MVNW_REPOURL and calculate MAVEN_HOME +# maven home pattern: ~/.m2/wrapper/dists/{apache-maven-,maven-mvnd--}/ +[ -z "${MVNW_REPOURL-}" ] || distributionUrl="$MVNW_REPOURL$_MVNW_REPO_PATTERN${distributionUrl#*"$_MVNW_REPO_PATTERN"}" +distributionUrlName="${distributionUrl##*/}" +distributionUrlNameMain="${distributionUrlName%.*}" +distributionUrlNameMain="${distributionUrlNameMain%-bin}" +MAVEN_USER_HOME="${MAVEN_USER_HOME:-${HOME}/.m2}" +MAVEN_HOME="${MAVEN_USER_HOME}/wrapper/dists/${distributionUrlNameMain-}/$(hash_string "$distributionUrl")" + +exec_maven() { + unset MVNW_VERBOSE MVNW_USERNAME MVNW_PASSWORD MVNW_REPOURL || : + exec "$MAVEN_HOME/bin/$MVN_CMD" "$@" || die "cannot exec $MAVEN_HOME/bin/$MVN_CMD" +} + +if [ -d "$MAVEN_HOME" ]; then + verbose "found existing MAVEN_HOME at $MAVEN_HOME" + exec_maven "$@" +fi + +case "${distributionUrl-}" in +*?-bin.zip | *?maven-mvnd-?*-?*.zip) ;; +*) die "distributionUrl is not valid, must match *-bin.zip or maven-mvnd-*.zip, but found '${distributionUrl-}'" ;; +esac + +# prepare tmp dir +if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then + clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; } + trap clean HUP INT TERM EXIT +else + die "cannot create temp dir" +fi + +mkdir -p -- "${MAVEN_HOME%/*}" + +# Download and Install Apache Maven +verbose "Couldn't find MAVEN_HOME, downloading and installing it ..." +verbose "Downloading from: $distributionUrl" +verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName" + +# select .zip or .tar.gz +if ! command -v unzip >/dev/null; then + distributionUrl="${distributionUrl%.zip}.tar.gz" + distributionUrlName="${distributionUrl##*/}" +fi + +# verbose opt +__MVNW_QUIET_WGET=--quiet __MVNW_QUIET_CURL=--silent __MVNW_QUIET_UNZIP=-q __MVNW_QUIET_TAR='' +[ "${MVNW_VERBOSE-}" != true ] || __MVNW_QUIET_WGET='' __MVNW_QUIET_CURL='' __MVNW_QUIET_UNZIP='' __MVNW_QUIET_TAR=v + +# normalize http auth +case "${MVNW_PASSWORD:+has-password}" in +'') MVNW_USERNAME='' MVNW_PASSWORD='' ;; +has-password) [ -n "${MVNW_USERNAME-}" ] || MVNW_USERNAME='' MVNW_PASSWORD='' ;; +esac + +if [ -z "${MVNW_USERNAME-}" ] && command -v wget >/dev/null; then + verbose "Found wget ... using wget" + wget ${__MVNW_QUIET_WGET:+"$__MVNW_QUIET_WGET"} "$distributionUrl" -O "$TMP_DOWNLOAD_DIR/$distributionUrlName" || die "wget: Failed to fetch $distributionUrl" +elif [ -z "${MVNW_USERNAME-}" ] && command -v curl >/dev/null; then + verbose "Found curl ... using curl" + curl ${__MVNW_QUIET_CURL:+"$__MVNW_QUIET_CURL"} -f -L -o "$TMP_DOWNLOAD_DIR/$distributionUrlName" "$distributionUrl" || die "curl: Failed to fetch $distributionUrl" +elif set_java_home; then + verbose "Falling back to use Java to download" + javaSource="$TMP_DOWNLOAD_DIR/Downloader.java" + targetZip="$TMP_DOWNLOAD_DIR/$distributionUrlName" + cat >"$javaSource" <<-END + public class Downloader extends java.net.Authenticator + { + protected java.net.PasswordAuthentication getPasswordAuthentication() + { + return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() ); + } + public static void main( String[] args ) throws Exception + { + setDefault( new Downloader() ); + java.nio.file.Files.copy( java.net.URI.create( args[0] ).toURL().openStream(), java.nio.file.Paths.get( args[1] ).toAbsolutePath().normalize() ); + } + } + END + # For Cygwin/MinGW, switch paths to Windows format before running javac and java + verbose " - Compiling Downloader.java ..." + "$(native_path "$JAVACCMD")" "$(native_path "$javaSource")" || die "Failed to compile Downloader.java" + verbose " - Running Downloader.java ..." + "$(native_path "$JAVACMD")" -cp "$(native_path "$TMP_DOWNLOAD_DIR")" Downloader "$distributionUrl" "$(native_path "$targetZip")" +fi + +# If specified, validate the SHA-256 sum of the Maven distribution zip file +if [ -n "${distributionSha256Sum-}" ]; then + distributionSha256Result=false + if [ "$MVN_CMD" = mvnd.sh ]; then + echo "Checksum validation is not supported for maven-mvnd." >&2 + echo "Please disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2 + exit 1 + elif command -v sha256sum >/dev/null; then + if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | sha256sum -c >/dev/null 2>&1; then + distributionSha256Result=true + fi + elif command -v shasum >/dev/null; then + if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | shasum -a 256 -c >/dev/null 2>&1; then + distributionSha256Result=true + fi + else + echo "Checksum validation was requested but neither 'sha256sum' or 'shasum' are available." >&2 + echo "Please install either command, or disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2 + exit 1 + fi + if [ $distributionSha256Result = false ]; then + echo "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised." >&2 + echo "If you updated your Maven version, you need to update the specified distributionSha256Sum property." >&2 + exit 1 + fi +fi + +# unzip and move +if command -v unzip >/dev/null; then + unzip ${__MVNW_QUIET_UNZIP:+"$__MVNW_QUIET_UNZIP"} "$TMP_DOWNLOAD_DIR/$distributionUrlName" -d "$TMP_DOWNLOAD_DIR" || die "failed to unzip" +else + tar xzf${__MVNW_QUIET_TAR:+"$__MVNW_QUIET_TAR"} "$TMP_DOWNLOAD_DIR/$distributionUrlName" -C "$TMP_DOWNLOAD_DIR" || die "failed to untar" +fi +printf %s\\n "$distributionUrl" >"$TMP_DOWNLOAD_DIR/$distributionUrlNameMain/mvnw.url" +mv -- "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain" "$MAVEN_HOME" || [ -d "$MAVEN_HOME" ] || die "fail to move MAVEN_HOME" + +clean || : +exec_maven "$@" diff --git a/association/mvnw.cmd b/association/mvnw.cmd new file mode 100644 index 0000000..249bdf3 --- /dev/null +++ b/association/mvnw.cmd @@ -0,0 +1,149 @@ +<# : batch portion +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Apache Maven Wrapper startup batch script, version 3.3.2 +@REM +@REM Optional ENV vars +@REM MVNW_REPOURL - repo url base for downloading maven distribution +@REM MVNW_USERNAME/MVNW_PASSWORD - user and password for downloading maven +@REM MVNW_VERBOSE - true: enable verbose log; others: silence the output +@REM ---------------------------------------------------------------------------- + +@IF "%__MVNW_ARG0_NAME__%"=="" (SET __MVNW_ARG0_NAME__=%~nx0) +@SET __MVNW_CMD__= +@SET __MVNW_ERROR__= +@SET __MVNW_PSMODULEP_SAVE=%PSModulePath% +@SET PSModulePath= +@FOR /F "usebackq tokens=1* delims==" %%A IN (`powershell -noprofile "& {$scriptDir='%~dp0'; $script='%__MVNW_ARG0_NAME__%'; icm -ScriptBlock ([Scriptblock]::Create((Get-Content -Raw '%~f0'))) -NoNewScope}"`) DO @( + IF "%%A"=="MVN_CMD" (set __MVNW_CMD__=%%B) ELSE IF "%%B"=="" (echo %%A) ELSE (echo %%A=%%B) +) +@SET PSModulePath=%__MVNW_PSMODULEP_SAVE% +@SET __MVNW_PSMODULEP_SAVE= +@SET __MVNW_ARG0_NAME__= +@SET MVNW_USERNAME= +@SET MVNW_PASSWORD= +@IF NOT "%__MVNW_CMD__%"=="" (%__MVNW_CMD__% %*) +@echo Cannot start maven from wrapper >&2 && exit /b 1 +@GOTO :EOF +: end batch / begin powershell #> + +$ErrorActionPreference = "Stop" +if ($env:MVNW_VERBOSE -eq "true") { + $VerbosePreference = "Continue" +} + +# calculate distributionUrl, requires .mvn/wrapper/maven-wrapper.properties +$distributionUrl = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionUrl +if (!$distributionUrl) { + Write-Error "cannot read distributionUrl property in $scriptDir/.mvn/wrapper/maven-wrapper.properties" +} + +switch -wildcard -casesensitive ( $($distributionUrl -replace '^.*/','') ) { + "maven-mvnd-*" { + $USE_MVND = $true + $distributionUrl = $distributionUrl -replace '-bin\.[^.]*$',"-windows-amd64.zip" + $MVN_CMD = "mvnd.cmd" + break + } + default { + $USE_MVND = $false + $MVN_CMD = $script -replace '^mvnw','mvn' + break + } +} + +# apply MVNW_REPOURL and calculate MAVEN_HOME +# maven home pattern: ~/.m2/wrapper/dists/{apache-maven-,maven-mvnd--}/ +if ($env:MVNW_REPOURL) { + $MVNW_REPO_PATTERN = if ($USE_MVND) { "/org/apache/maven/" } else { "/maven/mvnd/" } + $distributionUrl = "$env:MVNW_REPOURL$MVNW_REPO_PATTERN$($distributionUrl -replace '^.*'+$MVNW_REPO_PATTERN,'')" +} +$distributionUrlName = $distributionUrl -replace '^.*/','' +$distributionUrlNameMain = $distributionUrlName -replace '\.[^.]*$','' -replace '-bin$','' +$MAVEN_HOME_PARENT = "$HOME/.m2/wrapper/dists/$distributionUrlNameMain" +if ($env:MAVEN_USER_HOME) { + $MAVEN_HOME_PARENT = "$env:MAVEN_USER_HOME/wrapper/dists/$distributionUrlNameMain" +} +$MAVEN_HOME_NAME = ([System.Security.Cryptography.MD5]::Create().ComputeHash([byte[]][char[]]$distributionUrl) | ForEach-Object {$_.ToString("x2")}) -join '' +$MAVEN_HOME = "$MAVEN_HOME_PARENT/$MAVEN_HOME_NAME" + +if (Test-Path -Path "$MAVEN_HOME" -PathType Container) { + Write-Verbose "found existing MAVEN_HOME at $MAVEN_HOME" + Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD" + exit $? +} + +if (! $distributionUrlNameMain -or ($distributionUrlName -eq $distributionUrlNameMain)) { + Write-Error "distributionUrl is not valid, must end with *-bin.zip, but found $distributionUrl" +} + +# prepare tmp dir +$TMP_DOWNLOAD_DIR_HOLDER = New-TemporaryFile +$TMP_DOWNLOAD_DIR = New-Item -Itemtype Directory -Path "$TMP_DOWNLOAD_DIR_HOLDER.dir" +$TMP_DOWNLOAD_DIR_HOLDER.Delete() | Out-Null +trap { + if ($TMP_DOWNLOAD_DIR.Exists) { + try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null } + catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" } + } +} + +New-Item -Itemtype Directory -Path "$MAVEN_HOME_PARENT" -Force | Out-Null + +# Download and Install Apache Maven +Write-Verbose "Couldn't find MAVEN_HOME, downloading and installing it ..." +Write-Verbose "Downloading from: $distributionUrl" +Write-Verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName" + +$webclient = New-Object System.Net.WebClient +if ($env:MVNW_USERNAME -and $env:MVNW_PASSWORD) { + $webclient.Credentials = New-Object System.Net.NetworkCredential($env:MVNW_USERNAME, $env:MVNW_PASSWORD) +} +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 +$webclient.DownloadFile($distributionUrl, "$TMP_DOWNLOAD_DIR/$distributionUrlName") | Out-Null + +# If specified, validate the SHA-256 sum of the Maven distribution zip file +$distributionSha256Sum = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionSha256Sum +if ($distributionSha256Sum) { + if ($USE_MVND) { + Write-Error "Checksum validation is not supported for maven-mvnd. `nPlease disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." + } + Import-Module $PSHOME\Modules\Microsoft.PowerShell.Utility -Function Get-FileHash + if ((Get-FileHash "$TMP_DOWNLOAD_DIR/$distributionUrlName" -Algorithm SHA256).Hash.ToLower() -ne $distributionSha256Sum) { + Write-Error "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised. If you updated your Maven version, you need to update the specified distributionSha256Sum property." + } +} + +# unzip and move +Expand-Archive "$TMP_DOWNLOAD_DIR/$distributionUrlName" -DestinationPath "$TMP_DOWNLOAD_DIR" | Out-Null +Rename-Item -Path "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain" -NewName $MAVEN_HOME_NAME | Out-Null +try { + Move-Item -Path "$TMP_DOWNLOAD_DIR/$MAVEN_HOME_NAME" -Destination $MAVEN_HOME_PARENT | Out-Null +} catch { + if (! (Test-Path -Path "$MAVEN_HOME" -PathType Container)) { + Write-Error "fail to move MAVEN_HOME" + } +} finally { + try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null } + catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" } +} + +Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD" diff --git a/association/pom.xml b/association/pom.xml new file mode 100644 index 0000000..97f1bd3 --- /dev/null +++ b/association/pom.xml @@ -0,0 +1,63 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.4.5 + + + com.example + association + 0.0.1-SNAPSHOT + association + Demo project for Spring Boot + + + + + + + + + + + + + + + 17 + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + org.springframework.boot + spring-boot-starter-web + + + + com.mysql + mysql-connector-j + runtime + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/association/src/main/java/com/example/association/AssociationApplication.java b/association/src/main/java/com/example/association/AssociationApplication.java new file mode 100644 index 0000000..a7cf069 --- /dev/null +++ b/association/src/main/java/com/example/association/AssociationApplication.java @@ -0,0 +1,13 @@ +package com.example.association; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class AssociationApplication { + + public static void main(String[] args) { + SpringApplication.run(AssociationApplication.class, args); + } + +} diff --git a/association/src/main/java/com/example/association/Repository/ChapterRepository.java b/association/src/main/java/com/example/association/Repository/ChapterRepository.java new file mode 100644 index 0000000..d703100 --- /dev/null +++ b/association/src/main/java/com/example/association/Repository/ChapterRepository.java @@ -0,0 +1,11 @@ +package com.example.association.Repository; + + +import com.example.association.model.Chapter; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.stereotype.Repository; + +@Repository +public interface ChapterRepository extends JpaRepository { + +} diff --git a/association/src/main/java/com/example/association/Repository/ExpositionRepository.java b/association/src/main/java/com/example/association/Repository/ExpositionRepository.java new file mode 100644 index 0000000..292a7b2 --- /dev/null +++ b/association/src/main/java/com/example/association/Repository/ExpositionRepository.java @@ -0,0 +1,12 @@ +package com.example.association.Repository; + + +import com.example.association.model.Exposition; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.stereotype.Repository; + +@Repository + +public interface ExpositionRepository extends JpaRepository { + +} \ No newline at end of file diff --git a/association/src/main/java/com/example/association/Repository/MemberRepository.java b/association/src/main/java/com/example/association/Repository/MemberRepository.java new file mode 100644 index 0000000..801507a --- /dev/null +++ b/association/src/main/java/com/example/association/Repository/MemberRepository.java @@ -0,0 +1,11 @@ +package com.example.association.Repository; + + +import com.example.association.model.Member; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.stereotype.Repository; + +@Repository +public interface MemberRepository extends JpaRepository { + +} \ No newline at end of file diff --git a/association/src/main/java/com/example/association/model/Chapter.java b/association/src/main/java/com/example/association/model/Chapter.java new file mode 100644 index 0000000..ae927a6 --- /dev/null +++ b/association/src/main/java/com/example/association/model/Chapter.java @@ -0,0 +1,51 @@ +package com.example.association.model; + +import jakarta.persistence.*; + +import java.util.List; + +@Entity +@Table(name = "Chapters") +public class Chapter { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + public Long id; + + public String name; + public String district; + + @OneToOne + @JoinColumn(name = "president_id") + public Member president; + + @OneToMany (mappedBy = "chapter", cascade = CascadeType.ALL) + private List members; + + + + + + public Chapter() { + } + + + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDistrict() { + return district; + } + + public void setDistrict(String district) { + this.district = district; + } + + + +} diff --git a/association/src/main/java/com/example/association/model/Conference.java b/association/src/main/java/com/example/association/model/Conference.java new file mode 100644 index 0000000..1c91ed6 --- /dev/null +++ b/association/src/main/java/com/example/association/model/Conference.java @@ -0,0 +1,26 @@ +package com.example.association.model; + +import jakarta.persistence.CascadeType; +import jakarta.persistence.Entity; +import jakarta.persistence.OneToMany; +import jakarta.persistence.Table; + +import java.util.List; + +@Entity +@Table(name = "conferences") +public class Conference extends Event{ + @OneToMany(mappedBy = "conference", cascade = CascadeType.ALL) + private List speakers; + + public Conference() { + } + + public List getSpeakers() { + return speakers; + } + + public void setSpeakers(List speakers) { + this.speakers = speakers; + } +} diff --git a/association/src/main/java/com/example/association/model/Event.java b/association/src/main/java/com/example/association/model/Event.java new file mode 100644 index 0000000..f61116d --- /dev/null +++ b/association/src/main/java/com/example/association/model/Event.java @@ -0,0 +1,67 @@ +package com.example.association.model; + +import jakarta.persistence.*; + +import java.time.LocalDate; +import java.util.List; + +@Entity +@Inheritance(strategy = InheritanceType.JOINED) +@Table(name = "events") +public abstract class Event { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + private LocalDate date; + private Integer duration; + private String location; + private String title; + + @OneToMany(mappedBy = "event", cascade = CascadeType.ALL) + private List guests; + + public Event() { + } + + public LocalDate getDate() { + return date; + } + + public void setDate(LocalDate date) { + this.date = date; + } + + public Integer getDuration() { + return duration; + } + + public void setDuration(Integer duration) { + this.duration = duration; + } + + public String getLocation() { + return location; + } + + public void setLocation(String location) { + this.location = location; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public List getGuests() { + return guests; + } + + public void setGuests(List guests) { + this.guests = guests; + } +} diff --git a/association/src/main/java/com/example/association/model/Exposition.java b/association/src/main/java/com/example/association/model/Exposition.java new file mode 100644 index 0000000..01a4f75 --- /dev/null +++ b/association/src/main/java/com/example/association/model/Exposition.java @@ -0,0 +1,9 @@ +package com.example.association.model; + +import jakarta.persistence.Entity; +import jakarta.persistence.Table; + +@Entity +@Table(name = "expositions") +public class Exposition extends Event{ +} diff --git a/association/src/main/java/com/example/association/model/Guest.java b/association/src/main/java/com/example/association/model/Guest.java new file mode 100644 index 0000000..6833cdd --- /dev/null +++ b/association/src/main/java/com/example/association/model/Guest.java @@ -0,0 +1,48 @@ +package com.example.association.model; + +import jakarta.persistence.*; + +@Entity +@Table(name = "guests") +public class Guest { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + private String name; + + @Enumerated(EnumType.STRING) + private GuestStatus status; + + @ManyToOne + @JoinColumn(name = "event_id") + private Event event; + + public Guest() { + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public GuestStatus getStatus() { + return status; + } + + public void setStatus(GuestStatus status) { + this.status = status; + } + + public Event getEvent() { + return event; + } + + public void setEvent(Event event) { + this.event = event; + } +} diff --git a/association/src/main/java/com/example/association/model/GuestStatus.java b/association/src/main/java/com/example/association/model/GuestStatus.java new file mode 100644 index 0000000..2968f54 --- /dev/null +++ b/association/src/main/java/com/example/association/model/GuestStatus.java @@ -0,0 +1,8 @@ +package com.example.association.model; + +public enum GuestStatus { + PRESENT, + NOT_PRESENT, + NO_RESPONSE + +} diff --git a/association/src/main/java/com/example/association/model/Member.java b/association/src/main/java/com/example/association/model/Member.java new file mode 100644 index 0000000..f1ebb60 --- /dev/null +++ b/association/src/main/java/com/example/association/model/Member.java @@ -0,0 +1,59 @@ +package com.example.association.model; + + +import jakarta.persistence.*; + +import java.time.LocalDate; + +@Entity +public class Member { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + private String name; + + @Enumerated(EnumType.STRING) + private MemberStatus status; + + private LocalDate renewalDate; + + + @ManyToOne + @JoinColumn(name = "chapter_id") + private Chapter chapter; + + public Member() { + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public MemberStatus getStatus() { + return status; + } + + public void setStatus(MemberStatus status) { + this.status = status; + } + + public LocalDate getRenewalDate() { + return renewalDate; + } + + public void setRenewalDate(LocalDate renewalDate) { + this.renewalDate = renewalDate; + } + + public Chapter getChapter() { + return chapter; + } + + public void setChapter(Chapter chapter) { + this.chapter = chapter; + } +} diff --git a/association/src/main/java/com/example/association/model/MemberStatus.java b/association/src/main/java/com/example/association/model/MemberStatus.java new file mode 100644 index 0000000..3461397 --- /dev/null +++ b/association/src/main/java/com/example/association/model/MemberStatus.java @@ -0,0 +1,7 @@ +package com.example.association.model; + + + public enum MemberStatus { + ACTIVE, LAPSED + } + diff --git a/association/src/main/java/com/example/association/model/Speaker.java b/association/src/main/java/com/example/association/model/Speaker.java new file mode 100644 index 0000000..66cb219 --- /dev/null +++ b/association/src/main/java/com/example/association/model/Speaker.java @@ -0,0 +1,46 @@ +package com.example.association.model; + +import jakarta.persistence.*; + +@Entity +@Table(name = "speakers") +public class Speaker { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + private String name; + private Integer presentacionDuration; + + @ManyToOne + @JoinColumn(name = "conference_id") + private Conference conference; + + public Speaker() { + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getPresentacionDuration() { + return presentacionDuration; + } + + public void setPresentacionDuration(Integer presentacionDuration) { + this.presentacionDuration = presentacionDuration; + } + + public Conference getConference() { + return conference; + } + + public void setConference(Conference conference) { + this.conference = conference; + } +} diff --git a/association/src/main/resources/application.properties b/association/src/main/resources/application.properties new file mode 100644 index 0000000..6357ccb --- /dev/null +++ b/association/src/main/resources/application.properties @@ -0,0 +1,15 @@ +spring.datasource.url=jdbc:mysql://localhost:3306/association?createDatabaseIfNotExist=true&serverTimezone=UTC +spring.datasource.username=root +spring.datasource.password=ironhack + +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver + +spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true + +spring.jpa.hibernate.ddl-auto=update + +server.error.include-stacktrace=never +server.error.include-message=always +server.error.include-binding-errors=always + +spring.output.ansi.enabled=ALWAYS diff --git a/association/src/test/java/com/example/association/AssociationApplicationTests.java b/association/src/test/java/com/example/association/AssociationApplicationTests.java new file mode 100644 index 0000000..12023a5 --- /dev/null +++ b/association/src/test/java/com/example/association/AssociationApplicationTests.java @@ -0,0 +1,13 @@ +package com.example.association; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class AssociationApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/association/target/classes/application.properties b/association/target/classes/application.properties new file mode 100644 index 0000000..6357ccb --- /dev/null +++ b/association/target/classes/application.properties @@ -0,0 +1,15 @@ +spring.datasource.url=jdbc:mysql://localhost:3306/association?createDatabaseIfNotExist=true&serverTimezone=UTC +spring.datasource.username=root +spring.datasource.password=ironhack + +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver + +spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true + +spring.jpa.hibernate.ddl-auto=update + +server.error.include-stacktrace=never +server.error.include-message=always +server.error.include-binding-errors=always + +spring.output.ansi.enabled=ALWAYS diff --git a/association/target/classes/com/example/association/AssociationApplication.class b/association/target/classes/com/example/association/AssociationApplication.class new file mode 100644 index 0000000000000000000000000000000000000000..3a32acdbb2194b2d83e3b2e2d1c59c0c356ee6fa GIT binary patch literal 768 zcmb7COHD&GH^86RT5k7a&z+8Z47cI;)tlWtQ!Be3Vei7Zt*fGq1 zRa&`YhPnRUBtV;CKQP9l8Zbyu@X)h%}-|Mlj$^7ap~@$gT(;dE|&0tVPI^+ z^Ql!jxv?UXkH+5f$QZ}RrL$5=J#C>GqJB8L*C?fy!=Dw;*m26ida1j0<7rsv> z6uoJ)U-yIw#f41>d95Z)^EsF9)?8l-&zzH%5<6p4*jSz^f7hM*5$t>V7`DC_+Nn%V zRIWS?S{ql6h+vLu*(>KF3TKGMl0Nx9rBfPMg~lPiAfQ$9Ujxi96Uk+=IB7<@HTVto zs|>G@^kGoRD#`9!0(w{@YXR%nAP`@CSb_oVUNHEBg&(tezqg>p3b0tgXk!x}$^VJ| T7I93ffvr+*V~4bFy9>MmK>f?Z literal 0 HcmV?d00001 diff --git a/association/target/classes/com/example/association/model/Chapter.class b/association/target/classes/com/example/association/model/Chapter.class new file mode 100644 index 0000000000000000000000000000000000000000..ab29a4297e465e3273edb84d7186c4387e1400ea GIT binary patch literal 1513 zcma)6YflqF6unbgwuNE^0YQ+LJldkHZ%ITFENCzVj5JM*AIz{jDTBMS&F<95ztTiw z;s<|#KgxJ!yMVz}{4&!!_uO;OoVnW{Kfiq^q9?T4M;Yp|C|jf)^)kAA#NTt<^QXKzS-y)K{c_Dl%Gd0^b%NxZn1K&7&xAB-b)fwja2{vulUE ztwqQvtGF*14b{)+_jM>$>#-rcRHTw&%eykdscD*#F2wu>uLl4#8h_PMTKb|XBYEJ7 z4W$AdcZ?W~0sfAMn%iv=MxYYP5%#u=via21bD>1YwQ!r<>j=Q|Xpgvcd_e_n*f?&- z72BIzyN&I}Yet23C?e?!1^J8he;czS`~wl9<5a4!JtZ0e764{a0WSinYJu1B6(Gga z#&3;lmLHSDki@@^mY!XQAHWv&WlM403Go`MpvGgLrq}*Y^g3v!Q&q*XcepwRBJcBd zTeweQrRAKAf#vYX;Vyd5rV`Y;>BQTfjd~rUQ^P1RD%GVDyB%X&gX87RFa-|xnmm*y zP7bsBP~zrG7hEM7Oz5;)Lhr`IIb5!E4T+~e8BYMB6TnFM&wQl`n|Fjh4BVGI1P{g? z{rkbXc{A_JdC7h-cDVqL?UIF;Bs0GS!wXjJ!6cPNb&es~gJ`u83ywQDyLb z=LqU(5bF@4L7ZK|K8$!o&?sHS4}8Wrg1^Z=M&k**1o$=NCJZW~NrcyF3hOiuGc*%( zjvzUUXfC1~H2;Q}paoit8{_{3$t8gAVQ1KL)vv@p#nol3=C6mqn+0zLzlvQDRcRR! zqnmUKt0AzlcL_d|^$`adG6aU7XfCyQ1x1;-cpbZG)LUKtLe}~AM(a|{Fxo{W?G3x} zhS6=*=8REB)16dJ1LrkWQ#IX9*EDcm(+V`%f6-*#=~Pn*nliB0toP&hFpu^C@k4;{ HXpepYpb1qD literal 0 HcmV?d00001 diff --git a/association/target/classes/com/example/association/model/Conference.class b/association/target/classes/com/example/association/model/Conference.class new file mode 100644 index 0000000000000000000000000000000000000000..163362aa64782e8a6ea8bc288b85a255bea1a29a GIT binary patch literal 1156 zcmb7DTTc@~7(LSqEu~T@il8VWUfPAkln5&oTw zYgOq)!#Gf{v{SJ*mg1>p6ZL!IiI_ z>ordi;9hKfh4_?K-{k84Ay{3&JeGK> zW=UAaEn4J?6=pa9?>E3_ls?jtg9C8*V84sS8O1w{-^D7~IFLP7xrS4%Ctpx&xwvHw@3VBBRt^tRb!t34r2UA=j}tV0 E0ZsE6hX4Qo literal 0 HcmV?d00001 diff --git a/association/target/classes/com/example/association/model/Event.class b/association/target/classes/com/example/association/model/Event.class new file mode 100644 index 0000000000000000000000000000000000000000..08dcd454527e5f830af3c3671e328529c9c90422 GIT binary patch literal 2393 zcma)7Yje{^6us+b985zJoENk-fFTYA6)2^7kTwsK8l1-vk7qjlw6S&^QCadxYo_^E z?MyqJ>4*LReiYMlSBm4PO5uxEyE^yWb9c{Pz5np{KScC`4#z1&*&^l2l&6BAYj5Q{ zX}QwtS_j8(RYwadtUI2gHw0yuYV8t@QK?AdWx7ITL3cWS&r-k2Uf)%g3`4);NbUHZ z)$?uTTJ?9z14GW1S_!H&4Y_uD%4+%@>F!{8jTt{H(*#`;G-eM16EA2w0vja_Pphs9 z40NhY({vqB7Yv+A(9{U@NC%GBHOQGV%`!5t9qlSkGhe0!x`B$i0~P8J)kcv6?YLIc z3H6$wjAIYiP4cD>K0)(u1|BPKJE3#zs!h-HwaE{fInewf11+t-3PSKGucNGnjj+3^ zpLUg}P^hxo(j6$k#zM{W?&(J&P;cwBZz38y_5D_(^^>5|k<<009t7Cq=ZT8eoBw}8 zySx)?8<21-Rq27JTK=B&PFZA6_WR1-g2=pzPPW*QVMp3XyqFrk9es{9XE&QoxM3UK z5H!(rJheaQ9jl-vv7>yBY>KuF9G=IEIep?_i>n{0!#E8Zi(RGJR)S`iYSCUK{02;T zhM8MRh1A-xz@E}4zI`YI*;5+FD(DJx4-Hy5{>pOyOqz0HeL6`I395fqqRl?jN8c+s3w}9tO`kVxPf!QQxw=jN*`J$rR zbO#G)tys!%Pc$PMo*B{3%!nq2uXoLR)zDNBeh+K+Lt3KR&m>$Pg1SKcS+u z;HUHrP#nC0(bT{E;7=+h(=S5jZNo4Vq2lz+&f6jA894H|5*P%1OV9C4YPy=#R87_N z9j&Bkx|-BfgQn$6H1W|4HBA^ztF)G)X)>wlVXCHe{EJieX)>wlF*H57L=)R&sA<}0 z+DO$@NosnQs_FZ5O_ijk6=+($L=#(fsA<+{`hhm%Qb+wXm(=tkMN?$?Eii7=4rPr2 z4na2b)f{Wf8dpZP-h{TTOSJJd5>!V-WcdOvK=oYh0zO0uUn0RSW*Pd?+_nXzXkh*d QU|ibQ)TBMU?uT^nFKt-q1poj5 literal 0 HcmV?d00001 diff --git a/association/target/classes/com/example/association/model/Exposition.class b/association/target/classes/com/example/association/model/Exposition.class new file mode 100644 index 0000000000000000000000000000000000000000..9c3e525d444472575cdf6a4546ea826f8416afe9 GIT binary patch literal 465 zcma)2%TB{E5FEEjThc#xY6OVZ5*AP ziKb$dd}c~hy(m!xVapPP#uIVZvo5Co! zP__}dbs(g0xDu@f?|1@fX;{m2Ek|Y^a@nohM^Y<@rhQ|Za^LQFmeil+H~+nEX?!1t&nQ zL4-k#rpnZ8&uNO+rap>{-_Kp$KSqm@1}NbYs4iN*5V`FiA9j;%eaT%~#Z`{sO^IWi zrWs;%9nmDM&c zuW2n((`~vFrD?QZ(-t&sU!o~Ek5E(2*L2r!aKEPUeoe(lP50?Rl&0~1O}o%!T%sv3 bLa1pHnqu_OA0PSt((ZVS_zC(4cRc+K(1(I8 literal 0 HcmV?d00001 diff --git a/association/target/classes/com/example/association/model/GuestStatus.class b/association/target/classes/com/example/association/model/GuestStatus.class new file mode 100644 index 0000000000000000000000000000000000000000..4f887353b35edfb47d29be877357a089bcfd9f74 GIT binary patch literal 1264 zcmb7DZBNr+6g|({u3PD3Rs@;g3r<;iSw+E@3=l)6F_{~oxP+k4yB*lB z6}f?Lw1PdyGoE*xc4S6Y)M;nIAgYj%W{@{Ft7f&n#V}j@Z-NSE$f(G2hM{_6YbRmh z@gWsz65k>2jYi$9^7sW6!^l&`V)JS3Rn=sedp$r&1sX2N$g3E^Wd_Oi0^ea6De1LC z>&P-Z%ilK|yN8Y)RTPZjii~j;1ze@dzX4Uh)1nrREU)7<-Y_hc`m)zOlC9DgFr(1* z_bdGsI6=%msp1;0Go+VY-;GuoM*FFf%olny14*IjCo{-qpz_z-D(+yK3lX=`W+<2R zL8PFfzcR&j`ne3lHP?6Qoz|`sZdtn?MV|bn8+`z|8MInpTVB%&UCx-$ioVq%cI{7* z81gTj=pfkJutLH_PDq1^(Sb`wDLN!uv6q|cIYGGR`j*F#HQjxm)-ohsp`_JV~oy_xHis@13;FRI<~aLK)%42 zmJkxfOPD6SPTmw*ekon#KH=gSv=8Jl%+NC(e-j8_z${WRevvHCP&77kiqSJLj!&J# z&rw9}p)ij!c?R7Q!~A;=rDcNRhF3HIIJwIOtOIS>jHfgc5Ph4vNl61~3WXL*KOpo2A$;IiKtgG#g4|SUtVlhfjk8L(*t?OvF63u% zLgK&=;71{5Z3{TK3J33aX5PGgvpf6q*Y_U)-r%r~3KnW`8dyY?VdaWnb2sE_;+~DJ zL|_=IuceaaEyKdW;jo4!hIXJMSA5~oG!!mR5*(EH2i zX*D@w*f>v>k&zh6M2H2Al%-V%G#x=6QM-RjTjGk zm(8cHMen%V_j~>YgQIvP7*_ugJutD%WLFbXnUcmA-v9JJ$j~Hc zr&M=WrBN=NAdA;lJj2$F&_Zf;;Gg&UCk)Fm_5GQL$J8prTCUd~s_W?>4-@ZZDPKp2 zX{0D!3oiN8*sI!~(^4k~Qq6WL~K)jchaXAmav?F=b>2zr}&Fl!f zsL|5^J&Ou%p$@7huSH&i>}~Sz2sE)mffiONRKZ=`D_}OgM&Esb2Uw@n1|AlvD%nRF zd=rn0Sd$Q26x$}hm0*Vq4FxQ8m%^_ypQJqh2KF_peL|~!x*%qUxS!HrgJ4!~8_&pA Ou$Qg-nQlvU0Q?54tPauu literal 0 HcmV?d00001 diff --git a/association/target/classes/com/example/association/model/MemberStatus.class b/association/target/classes/com/example/association/model/MemberStatus.class new file mode 100644 index 0000000000000000000000000000000000000000..8c0bd49bfdfee7da14218d0ef4837c6e6c0e23dc GIT binary patch literal 1203 zcmb7DZBNrs6n^g7(XAHt;slxa0!&@UOF`k&27%y6NQRIUmk>YQl`E8Vt?4@AM}Lw+ zB1EI%vp>psZa3o$nz$wH**W(-&pGG0r{8~k{sv$Ts~Qpv6(?w0;vH|l^@PPcoxpK< z3?rLc2RqF=!+hia396DIWgs0hG&c9``U@Gl zWx&8FgH~#8HeS_jhK1L|(CWw_t6|hY4ta*8;|0E8D3r~{DL>k*hYo{PHir^|O8$bXTXcU6nTG3&mtA>@ z2fXD`WaBTrn8T>ekZ%MI_nJI(C1syi^?94<^EWkO$nJ{hBskjVA>~9Oq|wyq#3iGb z1gTc)VMlvT5FWWc_ZZT)d+gKZg~Y3r%_c2R&GGu0t`8KF%GZXOVZBPF?VuYvV%wFf z=y_JT!tHA?nV zLPuIe_y%8g9|9J^H7Z)?Fx@BpvyLU0_oJQ6tqatM8B73cuuhd GR(=AACkvAR literal 0 HcmV?d00001 diff --git a/association/target/classes/com/example/association/model/Speaker.class b/association/target/classes/com/example/association/model/Speaker.class new file mode 100644 index 0000000000000000000000000000000000000000..122c21ecb929756be0ca754291a1f5d838298538 GIT binary patch literal 1662 zcmb7EZBG+H5S}fCLTN4Uf`C*7X?Z&pUp}BD2GG=$LZoTpC$n7Fve4UW?zYDMD@`;e ze((qQqm0j9uTbkD`ekQlc4nSuXJ+@u&u`y}=ovjpQjGc%6i-n<4KNxxyM#(jRG0s@j%Gcr8U48eufi@Psdv<~CC7HoYJfqw%h&g3_WUydZ2W zMdLKVC~3Ruo$!RR0kKm2JEfg--z`QlS;dvR(idG&Vl?x*skC%NMf&o%E}kpp>VS;T zXd3Qk+|%4@2+x)yim=7VqnAPnTt!qXyxtUW8}zl&Ypp9HP=s=;5kwSr_e$kL z`3<9mNQ`~1T4nb@8Ru-I$17K=9kYFaQ&|JlJ(6EF1wi_#KDI+@I(93YxSp^od(N z96rRy_WIc==n91KzIwOM!z(hw(b;EW73~m}A7bC-H4XOWQz|uhM4qwmxd$fU1 z9=T1=7B8e}Mk=i6hN&Q$2v(kHj8u+GDF6Z)`E3zWbH9}3ni%$tx5vVY|(u}|2< z083>49zu>dfNx`$YCF*#T7-t*h3;a_VsAmV6MUw`M;O`(Onw5-sNiMF!OH}1LmHrg zmDMkl=!KsH&-oz3RNE_rhktNkMtQ{c<6aQ>UuYF;7W-~a>0VCRNKR|C9>po$%V`mu zmM-CBihs^26L8uHxb$)w?d6n<z8n94?