添加租户字段,在联系上外键之前暂且设为字符串

This commit is contained in:
高子兴 2024-07-04 00:32:39 +08:00
parent a15f407c13
commit 9056250574
2 changed files with 3 additions and 0 deletions

View File

@ -12,4 +12,5 @@ public class NewsRequest extends JwtRequest {
private String content; private String content;
private String imagePath; private String imagePath;
private String author; private String author;
private String tenant;
} }

View File

@ -31,4 +31,6 @@ public class News {
@CreationTimestamp @CreationTimestamp
private LocalDateTime createdAt; private LocalDateTime createdAt;
private String tenant;
} }