ins_missCourseItem.php 869 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /*
  3. * To change this license header, choose License Headers in Project Properties.
  4. * To change this template file, choose Tools | Templates
  5. * and open the template in the editor.
  6. */
  7. namespace loyalsoft;
  8. /**
  9. * Description of missCourseItem
  10. *
  11. * @author cyzhao
  12. */
  13. class ins_missCourseItem extends Object_ext{
  14. /**
  15. * 任务id
  16. */
  17. public $missCardId = 0;
  18. /**
  19. * 这个id== 背包里的uid;实际就是为了区别多个相同的卡的;默认为0;一旦这个卡被激活就有固定值了
  20. */
  21. public $indexId=0;
  22. /**
  23. * 任务状态
  24. */
  25. public $type =1;
  26. public function __construct($args=null) {
  27. parent::__construct($args);
  28. }
  29. public function initialize($missId) {
  30. $this->missCardId = $missId;
  31. $this->type = Enum_TaskCardStateType::ing;
  32. }
  33. }