diff options
author | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-05-14 22:01:36 +0200 |
---|---|---|
committer | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-05-14 22:01:36 +0200 |
commit | 15cde428aa51c9eccef1caa61587965c0561a468 (patch) | |
tree | c5fa47acf0cafb6e85ae5ceae2eb3d0e491db4b8 /frontend/src/app/_data/Predictor.ts | |
parent | 092b447fc37337b46e07df43846630b7b48bbb38 (diff) | |
parent | e05bb6783e0bc0ce28a80c3e306215a1096c37d1 (diff) |
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
Diffstat (limited to 'frontend/src/app/_data/Predictor.ts')
-rw-r--r-- | frontend/src/app/_data/Predictor.ts | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/frontend/src/app/_data/Predictor.ts b/frontend/src/app/_data/Predictor.ts index e15ae8f9..55d610ed 100644 --- a/frontend/src/app/_data/Predictor.ts +++ b/frontend/src/app/_data/Predictor.ts @@ -1,22 +1,28 @@ -export default class Predictor { - _id: string = ''; +import { FolderFile } from "./FolderFile"; + +export default class Predictor extends FolderFile { constructor( - public name: string = 'Novi prediktor', + name: string = 'Novi prediktor', public description: string = '', public inputs: string[] = [], public output: string = '', public isPublic: boolean = false, public accessibleByLink: boolean = false, - public dateCreated: Date = new Date(), + dateCreated: Date = new Date(), + lastUpdated: Date = new Date(), public uploaderId: string = '', //public finalMetrics: Metric[] = [] - ) { } + public experimentId: string = "", + public modelId: string = "", + ) { + super(name, dateCreated, lastUpdated); + } } export class Metric { constructor( public name: string = '', public jsonValue: string = '' - ) {} + ) { } }
\ No newline at end of file |