|
@@ -5,7 +5,7 @@ import { BaseModel } from '../../frame/BaseModel';
|
|
export class News extends BaseModel {
|
|
export class News extends BaseModel {
|
|
@Column({ type: 'character varying', nullable: true, comment: '标题' })
|
|
@Column({ type: 'character varying', nullable: true, comment: '标题' })
|
|
title: string;
|
|
title: string;
|
|
- @Column({ type: 'jsonb', nullable: true, comment: '封面' })
|
|
|
|
|
|
+ @Column({ type: 'jsonb', default: [], nullable: true, comment: '封面' })
|
|
logo: Array<any>;
|
|
logo: Array<any>;
|
|
@Column({ type: 'character varying', nullable: true, comment: '发布人' })
|
|
@Column({ type: 'character varying', nullable: true, comment: '发布人' })
|
|
person: string;
|
|
person: string;
|