summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/properties-inputs/property-declare-api-model.ts
blob: ddb7bd43915764dd85f78539bd1829baf29ae247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'use strict';
import { PropertyBEModel, PropertyFEModel, DerivedFEProperty } from "../../models";


export class PropertyDeclareAPIModel extends PropertyBEModel{
    input: PropertyBEModel;
    propertiesName: string;


    constructor(property: PropertyFEModel, childProperty?: DerivedFEProperty) {
        super(property);
        if (childProperty) {
            this.input = childProperty;
            this.propertiesName = childProperty.propertiesName;
        }
    }

}