1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class CaturWara {
|
4 | constructor(id, urip, name) {
|
5 | this.id = id;
|
6 | this.urip = urip;
|
7 | this.name = name;
|
8 | Object.freeze(this);
|
9 | }
|
10 | static get values() { return _C_VAL; }
|
11 | static get SRI() { return _C_VAL[0]; }
|
12 | static get LABA() { return _C_VAL[1]; }
|
13 | static get JAYA() { return _C_VAL[2]; }
|
14 | static get MENALA() { return _C_VAL[3]; }
|
15 | }
|
16 | exports.CaturWara = CaturWara;
|
17 | const _C_VAL = [
|
18 | new CaturWara(0, 6, "Sri"),
|
19 | new CaturWara(1, 5, "Laba"),
|
20 | new CaturWara(2, 1, "Jaya"),
|
21 | new CaturWara(3, 8, "Menala"),
|
22 | ];
|
23 | Object.freeze(_C_VAL);
|