UNPKG

jhipster-rasha-core

Version:

JHipster's own domain language and core objects

76 lines (75 loc) 2.06 kB
{ "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", "skipClient": true, "skipServer": true }