feat: update model report bookmark
parent
e586a7bad1
commit
241501815b
|
@ -2,6 +2,7 @@ import { BaseModel } from 'src/core/modules/data/model/base.model';
|
||||||
import { Entity, Column } from 'typeorm';
|
import { Entity, Column } from 'typeorm';
|
||||||
import { ReportBookmarkEntity } from '../entities/report-bookmark.entity';
|
import { ReportBookmarkEntity } from '../entities/report-bookmark.entity';
|
||||||
import { TABLE_NAME } from 'src/core/strings/constants/table.constants';
|
import { TABLE_NAME } from 'src/core/strings/constants/table.constants';
|
||||||
|
import { REPORT_BOOKMARK_TYPE } from '../constant';
|
||||||
|
|
||||||
@Entity(TABLE_NAME.REPORT_BOOKMARK)
|
@Entity(TABLE_NAME.REPORT_BOOKMARK)
|
||||||
export class ReportBookmarkModel
|
export class ReportBookmarkModel
|
||||||
|
@ -22,4 +23,7 @@ export class ReportBookmarkModel
|
||||||
|
|
||||||
@Column('json', { nullable: true })
|
@Column('json', { nullable: true })
|
||||||
configuration: any;
|
configuration: any;
|
||||||
|
|
||||||
|
@Column('varchar')
|
||||||
|
type: REPORT_BOOKMARK_TYPE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue