Add Form Results
This commit is contained in:
@@ -5,6 +5,7 @@ export class Formular {
|
|||||||
public ispublic: boolean;
|
public ispublic: boolean;
|
||||||
public multiple: boolean;
|
public multiple: boolean;
|
||||||
public fields: MyField[];
|
public fields: MyField[];
|
||||||
|
public results: FormularResults[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum FieldType {
|
export enum FieldType {
|
||||||
@@ -36,4 +37,19 @@ export class MyField {
|
|||||||
min?: number | null;
|
min?: number | null;
|
||||||
max?: number | null;
|
max?: number | null;
|
||||||
checked?: boolean | null;
|
checked?: boolean | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export class FormularResult {
|
||||||
|
id: number;
|
||||||
|
parentid: number;
|
||||||
|
parentobj: FormularResults;
|
||||||
|
name: string;
|
||||||
|
value: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export class FormularResults {
|
||||||
|
id:number;
|
||||||
|
formular: Formular;
|
||||||
|
formularid: number;
|
||||||
|
results: FormularResult[];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user