diff options
author | wei <> | 2006-04-14 11:23:56 +0000 |
---|---|---|
committer | wei <> | 2006-04-14 11:23:56 +0000 |
commit | f6a5e7589396854e10e023c25237b47e512ff047 (patch) | |
tree | 2b313bb8b66869235ee06b9cae2af2f7645cf5c9 /tests/unit/SQLMap/domain/LineItem.php | |
parent | 3d3f8d3832921f99daf8ce1953304763c2e76c62 (diff) |
Adding SQLMap unit tests. Allow sqlmap to use Prado's caching module to cache records.
Diffstat (limited to 'tests/unit/SQLMap/domain/LineItem.php')
-rw-r--r-- | tests/unit/SQLMap/domain/LineItem.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/unit/SQLMap/domain/LineItem.php b/tests/unit/SQLMap/domain/LineItem.php new file mode 100644 index 00000000..d851da6c --- /dev/null +++ b/tests/unit/SQLMap/domain/LineItem.php @@ -0,0 +1,32 @@ +<?php
+
+class LineItem
+{
+ private $_ID=-1;
+ private $_Order='';
+ private $_Code='';
+ private $_Quantity=-1;
+ private $_Price=0.0;
+ private $_PictureData='';
+
+ public function getID(){ return $this->_ID; }
+ public function setID($value){ $this->_ID = $value; }
+
+ public function getOrder(){ return $this->_Order; }
+ public function setOrder($value){ $this->_Order = $value; }
+
+ public function getCode(){ return $this->_Code; }
+ public function setCode($value){ $this->_Code = $value; }
+
+ public function getQuantity(){ return $this->_Quantity; }
+ public function setQuantity($value){ $this->_Quantity = $value; }
+
+ public function getPrice(){ return $this->_Price; }
+ public function setPrice($value){ $this->_Price = $value; }
+
+ public function getPictureData(){ return $this->_PictureData; }
+ public function setPictureData($value){ $this->_PictureData = $value; }
+
+}
+
+?>
\ No newline at end of file |