Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame^] | 1 | /** |
| 2 | * Created by obarda on 1/11/2017. |
| 3 | */ |
| 4 | 'use strict'; |
| 5 | import {PropertyModel} from "./properties"; |
| 6 | import {InputModel} from "./inputs"; |
| 7 | |
| 8 | export class InputsAndProperties { |
| 9 | |
| 10 | inputs:Array<InputModel>; |
| 11 | properties:Array<PropertyModel>; |
| 12 | |
| 13 | |
| 14 | constructor(inputs?:Array<InputModel>, properties?:Array<PropertyModel>) { |
| 15 | if (inputs && inputs.length > 0) { |
| 16 | this.inputs = inputs; |
| 17 | } |
| 18 | if (properties && properties.length > 0) { |
| 19 | this.properties = properties; |
| 20 | } |
| 21 | } |
| 22 | } |