summaryrefslogtreecommitdiff
path: root/iridescence/src/models/category.js
blob: 04966f52a5c2c5e325cce64a7190f92c6b7db640 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

export class Category {
  name: string;
  subcategory: Category;

  /**
   * @param {string} name
   * @param {Category=} subcategory
   */
  constructor(name, subcategory) {
    this.name = name;
    this.subcategory = subcategory;
  }
}