| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- /**
- * Created by PhpStorm.
- * User: win 10
- * Date: 2019/4/10
- * Time: 11:25
- */
- namespace app\common\events\member;
- use app\common\events\Event;
- class PluginCreateRelationEvent extends Event
- {
- protected $parent_id;
- protected $model;
- protected $mark_id;
- protected $mark;
- public function __construct($mid, $model, $mark, $mark_id)
- {
- $this->parent_id = $mid;
- $this->model = $model;
- $this->mark_id = $mark_id;
- $this->mark = $mark;
- }
- public function getParentId()
- {
- return $this->parent_id;
- }
- public function getModel()
- {
- return $this->model;
- }
- public function getMarkId()
- {
- return $this->mark_id;
- }
- public function getMark()
- {
- return $this->mark;
- }
- }
|