基础版本完成

This commit is contained in:
2023-08-14 22:45:38 +08:00
commit 6c3b4925cf
28 changed files with 689 additions and 0 deletions

21
commons/pom.xml Normal file
View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>com.example</groupId>
<artifactId>SpringCloudStudy</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>org.example</groupId>
<artifactId>commons</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>

View File

@@ -0,0 +1,17 @@
package com.test.entity;
import lombok.Data;
/**
* ClassName: Book
* Package: com.test.entity
*
* @author yovinchen
* @Create 2023/8/14 21:17
*/
@Data
public class Book {
int bid;
String title;
String des;
}

View File

@@ -0,0 +1,17 @@
package com.test.entity;
import lombok.Data;
/**
* ClassName: Borrow
* Package: com.test.entity
*
* @author yovinchen
* @Create 2023/8/14 17:01
*/
@Data
public class Borrow {
int id;
int uid;
int bid;
}

View File

@@ -0,0 +1,31 @@
package com.test.entity;
import lombok.Data;
/**
* ClassName: User
* Package: com.test.entity
*
* @author yovinchen
* @Create 2023/8/14 17:01
*/
@Data
public class User {
int uid;
String name;
String sex;
/**
* ClassName: Book
* Package: com.test.entity
*
* @author yovinchen
* @Create 2023/8/14 17:01
*/
@Data
public static class Book {
int bid;
String title;
String desc;
}
}