ページにいいねできるように

This commit is contained in:
syuilo 2019-05-17 19:56:47 +09:00
parent d6ccb1725b
commit 380749051d
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
18 changed files with 489 additions and 191 deletions

View file

@ -95,6 +95,11 @@ export class Page {
})
public visibleUserIds: User['id'][];
@Column('integer', {
default: 0
})
public likedCount: number;
constructor(data: Partial<Page>) {
if (data == null) return;