остальное
This commit is contained in:
parent
7be5686094
commit
81b67b463d
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
|||||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
||||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||||
target
|
target
|
||||||
|
.idea
|
||||||
# User-specific stuff
|
# User-specific stuff
|
||||||
.idea/**/workspace.xml
|
.idea/**/workspace.xml
|
||||||
.idea/**/tasks.xml
|
.idea/**/tasks.xml
|
||||||
|
12
src/main/java/org/dbms/DBMSApplication.java
Normal file
12
src/main/java/org/dbms/DBMSApplication.java
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
package org.dbms;
|
||||||
|
|
||||||
|
import org.dbms.data.DataGenerator;
|
||||||
|
import org.springframework.boot.SpringApplication;
|
||||||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
|
@SpringBootApplication
|
||||||
|
public class DBMSApplication {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
SpringApplication.run(DBMSApplication.class, args);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package org.dbms.exceptions;
|
||||||
|
|
||||||
|
public class UserExistsException extends RuntimeException {
|
||||||
|
public UserExistsException(String login) {
|
||||||
|
super(String.format("User '%s' already exists", login));
|
||||||
|
}
|
||||||
|
}
|
5
src/main/java/org/dbms/searchModels/ParkingSearch.java
Normal file
5
src/main/java/org/dbms/searchModels/ParkingSearch.java
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package org.dbms.searchModels;
|
||||||
|
|
||||||
|
public class ParkingSearch {
|
||||||
|
public Long id = null;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user