/**
 * {{{description}}}
 */
{{#getImports}}
{{/getImports}}
{{#extend}}
export class {{ModelName}} extends {{extend}} {
{{/extend}}
{{^extend}}
import { BaseModel } from '@n3/ng-api-base-kit';

export class {{ModelName}} extends BaseModel {
{{/extend}}
    public _isEmpty: boolean; /*указывает на то пустой ли объект*/
    {{#properties}}
    public {{name}}: {{{type}}}; /*{{{description}}}*/
    {{/properties}}

    constructor(json?: any) {
        if (json === void 0 || json === null) {
            json = {};
        }
        {{#extend}}
        super(json);
        {{/extend}}
        {{^extend}}
        super();
        {{/extend}}

        {{#fillProperties}}
        {{/fillProperties}}
        this._isEmpty = this.isEmpty(this);
    }
}
