diff --git a/models/product.class.php b/models/product.class.php new file mode 100644 index 0000000..fd39ac6 --- /dev/null +++ b/models/product.class.php @@ -0,0 +1,28 @@ +product_id = $product_id; + $this->name = $name; + $this->price = $price; + $this->description=$description; + $this->stock = $stock; + $this->weight=$weight; + $this->image = $image; + $this->category=$category; + $this->created_at=$created_at; + $this->category_name=$category_name; + $this->category_description=$category_description; + } +} \ No newline at end of file diff --git a/models/user.class.php b/models/user.class.php new file mode 100644 index 0000000..03453c6 --- /dev/null +++ b/models/user.class.php @@ -0,0 +1,32 @@ +user_id = $user_id; + $this->username = $username; + $this->password = $password; + $this->email=$email; + $this->firstname = $firstname; + $this->lastname=$lastname; + $this->role=$role; + $this->created_at=$created_at; + $this->street = $street; + $this->streetnumber=$streetnumber; + $this->postalcode=$postalcode; + $this->country = $country; + $this->phone=$phone; + } +} \ No newline at end of file