初始提交

This commit is contained in:
dzj 2024-02-18 20:16:26 +08:00
commit 882fc78e7c
4 changed files with 56 additions and 0 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf

28
.gitignore vendored Normal file
View File

@ -0,0 +1,28 @@
# Build and Release Folders
target/
# Eclipse
.settings/
*.classpath
*.project
*.factorypath
# IntelliJ IDEA
.idea
*.iml
# vscode
.vscode
# JRebel
rebel.xml
# macOS
.DS_Store
# svn
.svn/
# vue
kernel-standard/
node_modules/

6
pom.xml Normal file
View File

@ -0,0 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.risesoft.demo</groupId>
<artifactId>demo-audi</artifactId>
<version>1.0</version>
</project>

View File

@ -0,0 +1,21 @@
package net.risesoft.demo;
public class Car {
private static final String version = "A4L";
public String getVersion() {
return version;
}
public String getName() {
return "audi";
}
public Integer limitSpeed() {
return 100;
}
public String seatPerson(Integer a) {
return "可以坐 " + a;
}
}