Initalisation de base
This commit is contained in:
21
server/model/device.js
Normal file
21
server/model/device.js
Normal file
@@ -0,0 +1,21 @@
|
||||
class Device{
|
||||
#uid;
|
||||
#montPoint = {};
|
||||
|
||||
|
||||
get uid() {
|
||||
return this.#uid;
|
||||
}
|
||||
|
||||
set uid(value) {
|
||||
this.#uid = value;
|
||||
}
|
||||
|
||||
get montPoint() {
|
||||
return this.#montPoint;
|
||||
}
|
||||
|
||||
set montPoint(value) {
|
||||
this.#montPoint = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user