基础版本完成
This commit is contained in:
17
commons/src/main/java/com/test/entity/Book.java
Normal file
17
commons/src/main/java/com/test/entity/Book.java
Normal 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;
|
||||
}
|
17
commons/src/main/java/com/test/entity/Borrow.java
Normal file
17
commons/src/main/java/com/test/entity/Borrow.java
Normal 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;
|
||||
}
|
31
commons/src/main/java/com/test/entity/User.java
Normal file
31
commons/src/main/java/com/test/entity/User.java
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user