| 1 | <?php |
||
| 29 | class Subscription extends AbstractSubscription |
||
| 30 | { |
||
| 31 | /** |
||
| 32 | * |
||
| 33 | * @var integer $id |
||
| 34 | */ |
||
| 35 | protected $id; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * |
||
| 39 | * @var Boolean $isRead |
||
| 40 | */ |
||
| 41 | protected $isRead = false; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * |
||
| 45 | * @var Boolean $isSubscribed |
||
| 46 | */ |
||
| 47 | protected $isSubscribed = false; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * |
||
| 51 | * @access public |
||
| 52 | */ |
||
| 53 | public function __construct() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Get id |
||
| 61 | * |
||
| 62 | * @return integer |
||
| 63 | */ |
||
| 64 | public function getId() |
||
| 68 | |||
| 69 | /** |
||
| 70 | * Get isRead |
||
| 71 | * |
||
| 72 | * @return boolean |
||
| 73 | */ |
||
| 74 | public function isRead() |
||
| 78 | |||
| 79 | /** |
||
| 80 | * Set isRead |
||
| 81 | * |
||
| 82 | * @param boolean $isRead |
||
| 83 | * @return Subscription |
||
| 84 | */ |
||
| 85 | public function setRead($isRead) |
||
| 91 | |||
| 92 | /** |
||
| 93 | * Get isSubscribed |
||
| 94 | * |
||
| 95 | * @return boolean |
||
| 96 | */ |
||
| 97 | public function isSubscribed() |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Set isSubscribed |
||
| 104 | * |
||
| 105 | * @param boolean $isSubscribed |
||
| 106 | * @return Subscription |
||
| 107 | */ |
||
| 108 | public function setSubscribed($isSubscribed) |
||
| 114 | } |
||
| 115 |