Source: database/Models/Platform/Platform.js

  1. /**
  2. * Represent the platform in the DB
  3. */
  4. class Platform {
  5. /**
  6. * @constructor
  7. * @param {string} id id of the platform
  8. * @param {string} name name of the platform
  9. */
  10. constructor(id, name) {
  11. this.id = id;
  12. this.name = name;
  13. }
  14. }
  15. module.exports = Platform;