Module
Structure
Field | Type | Required | Description |
---|---|---|---|
id | int | true | Unique identifier for the Module. |
code | String | true | Code of the Module |
name | String | true | Name of the Module. |
floor | Floor | true | Floor of the Property where the Module is. |
moduleStatusType | ModuleStatusType | true | Status of the Module. |
roomModuleSet | Array of RoomModule | false | Relation of a Room element with a Module element. |
moduleLockSet | Array of ModuleLock | false | Lock a module for certain dates. |
hasIssue | Boolean | false | Returns true if there's a MaintenanceIssue related to this Module. |
JSON representation
{ "id": 1, "createdDate": "2018-07-16T15:25:06.820Z", "modifiedDate": "2018-07-16T15:37:49.727Z", "createdUser": 0, "modifiedUser": 0, "code": "101", "name": "M101", "floor": { "id": 1, "createdDate": "2018-07-16T15:25:06.543Z", "modifiedDate": "2018-07-16T15:25:06.547Z", "createdUser": 0, "modifiedUser": 0, "code": "1", "name": "Floor 1", "order": 1 }, "moduleStatusType": null, "roomModuleSet": null, "moduleLockSet": null, "hasIssue": false }