forked from Hri7566/mpp-server-dev2
This commit is contained in:
parent
7d8d8898bd
commit
391b8e248a
|
@ -1,4 +1,4 @@
|
||||||
module.exports = class Crown {
|
class Crown {
|
||||||
constructor (id, _id) {
|
constructor (id, _id) {
|
||||||
this.participantId = id;
|
this.participantId = id;
|
||||||
this.userId = _id;
|
this.userId = _id;
|
||||||
|
@ -17,3 +17,6 @@ module.exports = class Crown {
|
||||||
return Math.floor(Math.random() * 10000) / 100;
|
return Math.floor(Math.random() * 10000) / 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module.exports = Crown;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue