DMB.php 664 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: qisse
  5. * Date: 2017/8/3
  6. * Time: 9:35
  7. */
  8. namespace app\api\model;
  9. class DMB
  10. {
  11. private $offset = 1;
  12. private $limit = 10;
  13. private $status = 0;
  14. public function setOffset($offset = 1) {
  15. $this->offset = $offset;
  16. }
  17. public function getOffset() {
  18. return $this->offset;
  19. }
  20. public function setLimit($limit = 10) {
  21. $this->limit = $limit;
  22. }
  23. public function getLimit() {
  24. return $this->limit;
  25. }
  26. public function setStatus($status = 0) {
  27. $this->status = $status;
  28. }
  29. public function getStauts() {
  30. return $this->status;
  31. }
  32. }