summaryrefslogblamecommitdiff
path: root/iridescence/src/models/product.js
blob: c826073cda1eb45a75625e6f581cbfc0017a48b1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                              
export default class Product {
  id = 0;
  name = "";
  description = "";
  cents = 0;
  quantity = 0;
  featured = false;
  photo_base = "";
  photo_fullsize = "";
  photo_thumbnail = "";
  category = "";

  constructor(json) {
    Object.assign(this, json);
  }
}