aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/inputs-and-properties.ts
blob: 18ff928918791679cbb3466bf31325201a2a001f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * Created by obarda on 1/11/2017.
 */
'use strict';
import {PropertyModel} from "./properties";
import {InputModel} from "./inputs";

export class InputsAndProperties {

    inputs:Array<InputModel>;
    properties:Array<PropertyModel>;


    constructor(inputs?:Array<InputModel>, properties?:Array<PropertyModel>) {
        if (inputs && inputs.length > 0) {
            this.inputs = inputs;
        }
        if (properties && properties.length > 0) {
            this.properties = properties;
        }
    }
}