35 lines
544 B
PHP
35 lines
544 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: dingran
|
|
* Date: 2018/11/20
|
|
* Time: 上午7:32
|
|
*/
|
|
|
|
namespace app\common\events\member;
|
|
|
|
|
|
use app\common\events\Event;
|
|
|
|
class MemberChangeRelationEvent extends Event
|
|
{
|
|
protected $uid;
|
|
protected $parent_id;
|
|
|
|
public function __construct($uid, $parent_id)
|
|
{
|
|
$this->uid = $uid;
|
|
$this->parent_id = $parent_id;
|
|
}
|
|
|
|
public function getUid()
|
|
{
|
|
return $this->uid;
|
|
}
|
|
|
|
public function getParentId()
|
|
{
|
|
return $this->parent_id;
|
|
}
|
|
}
|