{
    "relationships": [
        {
            "relationshipName": "department",
            "otherEntityName": "department",
            "javadoc": "Another side of the same relationship",
            "relationshipType": "many-to-one",
            "otherEntityField": "foo"
        },
        {
            "relationshipType": "one-to-many",
            "relationshipName": "job",
            "otherEntityName": "job",
            "otherEntityRelationshipName": "employee"
        },
        {
            "relationshipType": "many-to-one",
            "relationshipName": "manager",
            "otherEntityName": "employee",
            "otherEntityField": "id"
        }
    ],
    "fields": [
        {
            "fieldName": "employeeId",
            "fieldType": "Long"
        },
        {
            "fieldName": "firstName",
            "javadoc": "The firstname attribute.",
            "fieldType": "String"
        },
        {
            "fieldName": "lastName",
            "fieldType": "String"
        },
        {
            "fieldName": "email",
            "fieldType": "String"
        },
        {
            "fieldName": "phoneNumber",
            "fieldType": "String"
        },
        {
            "fieldName": "hireDate",
            "fieldType": "ZonedDateTime"
        },
        {
            "fieldName": "salary",
            "fieldType": "Long",
            "fieldValidateRules": [
                "min", "max"
            ],
            "fieldValidateRulesMin": 10000,
            "fieldValidateRulesMax": 1000000
        },
        {
            "fieldName": "commissionPct",
            "fieldType": "Long"
        }
    ],
    "changelogDate": "20160926083805",
    "javadoc": "The Employee entity.",
    "entityTableName": "emp",
    "dto": "mapstruct",
    "pagination": "infinite-scroll",
    "service": "serviceClass",
    "fluentMethods": false,
    "searchEngine": "elasticsearch",
    "angularJSSuffix": "myentities",
    "microserviceName": "mymicroservice"
}
