Init commit
This commit is contained in:
21
model/ProductModel.php
Normal file
21
model/ProductModel.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
class ProductModel {
|
||||
|
||||
//protected $id;
|
||||
protected $name;
|
||||
protected $price;
|
||||
protected $pricewTax;
|
||||
protected $pricePerPiece;
|
||||
protected $sizes;
|
||||
|
||||
/*
|
||||
* @product array()
|
||||
*/
|
||||
public function __construct($product) {
|
||||
$this->sizes = $product[0];
|
||||
$this->sizes = $product[];
|
||||
$this->name=$product[];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user