|
@@ -7,7 +7,7 @@ import dayjs = require('dayjs');
|
|
|
export class Expert extends BaseModel {
|
|
|
@Column({ type: 'integer', nullable: true, comment: '平台用户id' })
|
|
|
user: number;
|
|
|
- @Column({ type: 'jsonb', nullable: true, comment: '标签' })
|
|
|
+ @Column({ type: 'jsonb', nullable: true, comment: '标签', default: [] })
|
|
|
tags: Array<any>;
|
|
|
@Column({ type: 'character varying', nullable: true, comment: '专家姓名' })
|
|
|
name: string;
|