12 lines
281 B
JavaScript
12 lines
281 B
JavaScript
import { v4 as uuid } from 'uuid';
|
|
|
|
export class routeObj {
|
|
constructor(number, amountPoints, points) {
|
|
this.number = number;
|
|
this.amountPoints = amountPoints;
|
|
this.id = uuid();
|
|
this.points = points;
|
|
}
|
|
};
|
|
|
|
export default routeObj; |