Attribute2.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. namespace OpenOrderSplitDeliverNew;
  3. class Attribute2{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.gongxiao.kepler.domain.OrderExtSkuBatchInfo";
  7. }
  8. private $manufactureTime;
  9. public function setManufactureTime($manufactureTime){
  10. $this->params['manufactureTime'] = $manufactureTime;
  11. }
  12. public function getManufactureTime(){
  13. return $this->manufactureTime;
  14. }
  15. private $validTime;
  16. public function setValidTime($validTime){
  17. $this->params['validTime'] = $validTime;
  18. }
  19. public function getValidTime(){
  20. return $this->validTime;
  21. }
  22. private $batchNum;
  23. public function setBatchNum($batchNum){
  24. $this->params['batchNum'] = $batchNum;
  25. }
  26. public function getBatchNum(){
  27. return $this->batchNum;
  28. }
  29. private $batchCount;
  30. public function setBatchCount($batchCount){
  31. $this->params['batchCount'] = $batchCount;
  32. }
  33. public function getBatchCount(){
  34. return $this->batchCount;
  35. }
  36. private $skuPrice;
  37. public function setSkuPrice($skuPrice){
  38. $this->params['skuPrice'] = $skuPrice;
  39. }
  40. public function getSkuPrice(){
  41. return $this->skuPrice;
  42. }
  43. function getInstance(){
  44. return $this->params;
  45. }
  46. }
  47. ?>