"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const handlebars = require("handlebars");
const _ = require("lodash");
handlebars.registerHelper('isAllowProperty', function (moduleName, property) {
    if (property.isI18n) {
        return property.name !== 'id' &&
            property.name !== _.camelCase(moduleName) + 'Id' &&
            property.name !== 'createdAt' &&
            property.name !== 'updatedAt' &&
            property.name !== 'deletedAt';
    }
    return true;
});
