添加租户字段,在联系上外键之前暂且设为字符串
This commit is contained in:
parent
a15f407c13
commit
9056250574
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -31,4 +31,6 @@ public class News {
|
|||||||
|
|
||||||
@CreationTimestamp
|
@CreationTimestamp
|
||||||
private LocalDateTime createdAt;
|
private LocalDateTime createdAt;
|
||||||
|
|
||||||
|
private String tenant;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user