From 9f3098e80c6b6c87e9bfbfe36239a39e5cafb29f Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 26 Oct 2022 21:02:31 -0400 Subject: init: add some stories and personas and begin layout out domain --- iridescence/src/models/product.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 iridescence/src/models/product.js (limited to 'iridescence/src/models/product.js') diff --git a/iridescence/src/models/product.js b/iridescence/src/models/product.js deleted file mode 100644 index ded5434..0000000 --- a/iridescence/src/models/product.js +++ /dev/null @@ -1,16 +0,0 @@ -export default class Product { - constructor(json) { - if (json) { - this.id = json.id ? json.id : null; - this.name = json.name ? json.name : null; - this.description = json.description ? json.description : null; - this.cents = Number.isFinite(json.cents) ? json.cents : null; - this.quantity = Number.isFinite(json.quantity) ? json.quantity : null; - this.featured = json.featured ? json.featured : false; - this.category = json.category ? json.category : null; - this.photo_base = json.photo_base ? json.photo_base : null; - this.photo_thumbnail = json.photo_thumbnail ? json.photo_thumbnail : null; - this.photo_fullsize = json.photo_fullsize ? json.photo_fullsize : null; - } - } -} -- cgit v1.2.3