add content
This commit is contained in:
parent
7988850063
commit
46d0567921
@ -26,7 +26,7 @@ export class PostEntity extends BaseEntity {
|
|||||||
|
|
||||||
@Expose()
|
@Expose()
|
||||||
@Column({ comment: '关键字', type: 'simple-array', nullable: true })
|
@Column({ comment: '关键字', type: 'simple-array', nullable: true })
|
||||||
keywords?: [];
|
keywords?: string[];
|
||||||
|
|
||||||
@Column({ comment: '文章类型', type: 'enum', enum: PostBodyType, default: PostBodyType.HTML })
|
@Column({ comment: '文章类型', type: 'enum', enum: PostBodyType, default: PostBodyType.HTML })
|
||||||
type: PostBodyType;
|
type: PostBodyType;
|
||||||
|
Loading…
Reference in New Issue
Block a user