Add Event model & dummydata
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { v4 as generateUniqueKey } from "uuid";
|
||||
|
||||
export class Event {
|
||||
constructor(name, date, category) {
|
||||
this._key = generateUniqueKey();
|
||||
this._name = name;
|
||||
this._date = date;
|
||||
this._category = category;
|
||||
this._giftList = [];
|
||||
this._personList = [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user