add content

This commit is contained in:
liuyi 2025-05-20 08:05:19 +08:00
parent 7988850063
commit 46d0567921

View File

@ -26,7 +26,7 @@ export class PostEntity extends BaseEntity {
@Expose()
@Column({ comment: '关键字', type: 'simple-array', nullable: true })
keywords?: [];
keywords?: string[];
@Column({ comment: '文章类型', type: 'enum', enum: PostBodyType, default: PostBodyType.HTML })
type: PostBodyType;