summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/properties-inputs/input-be-model.ts
blob: 6767bce72972fbfe2c899ad706d8386ea823424f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import {PropertyBEModel} from 'app/models';
/**
 * Created by rc2122 on 6/1/2017.
 */
export class InputBEModel extends PropertyBEModel {
    properties: Array<ComponentInstanceModel>;
    inputs: Array<ComponentInstanceModel>;
    instanceUniqueId: string;
    propertyId: string;

    constructor(input?: InputBEModel) {
        super(input);
        this.instanceUniqueId = input.instanceUniqueId;
        this.propertyId = input.propertyId;
        this.properties = input.properties;
        this.inputs = input.inputs;
    }



    public toJSON = (): any => {
    };

}

export interface ComponentInstanceModel extends InputBEModel {
    componentInstanceId:string;
    componentInstanceName: string;
}