Skip to content

Commit

Permalink
chore: add room id value object
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGiulianelli committed Apr 18, 2023
1 parent 71c3a4e commit fdf0774
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/env/entity/room/RoomID.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright (c) 2023. Smart Operating Block
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/

package entity.room;

/**
* Room identifier.
*/
public class RoomID {
private final String id;

/**
* Default constructor.
* @param id the id.
*/
public RoomID(final String id) {
this.id = id;
}

/**
* Get the id.
* @return the id.
*/
public String getId() {
return this.id;
}
}

0 comments on commit fdf0774

Please sign in to comment.