实现blog后端api

This commit is contained in:
2025-05-18 14:30:18 +08:00
parent 327f49bff0
commit 3f0e281d42
2 changed files with 22 additions and 1 deletions

View File

@@ -14,6 +14,9 @@ export class Blog {
@Column()
contentUrl: string;
@Column({ default: 0 })
viewCount: number;
@CreateDateColumn({ precision: 3 })
createdAt: Date;