Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Structure

Excerpt


FieldTypeRequiredDescription
idinttrueUnique identifier for the Module.
codeStringtrueCode of the Module
nameStringtrueName of the Module.
floorFloortrueFloor of the Property where the Module is.
moduleStatusTypeModuleStatusTypetrueStatus of the Module.
roomModuleSetArray of RoomModulefalseRelation of a Room element with a Module element.
moduleLockSetArray of ModuleLockfalseLock a module for certain dates.
hasIssueBooleanfalseReturns true if there's a MaintenanceIssue related to this Module.



JSON representation

Code Block
themeDJango
{
  "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
}