project init

This commit is contained in:
peng
2021-10-25 18:46:56 +08:00
parent 0186e957af
commit 43fc20ff97
4 changed files with 39 additions and 0 deletions

1
.gitignore vendored
View File

@@ -21,3 +21,4 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
*.idea

View File

@@ -0,0 +1,16 @@
package com.dayrain;
import javafx.application.Application;
import javafx.stage.Stage;
public class ApplicationStarter extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) throws Exception {
}
}

View File

@@ -0,0 +1,4 @@
package com.dayrain.entity;
public class Configuration {
}

View File

@@ -0,0 +1,18 @@
package com.dayrain.entity;
public class ServerConfig {
private int port = 8081;
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
public ServerConfig(int port) {
this.port = port;
}
}