代码初始化
This commit is contained in:
32
extend/Yzh/Model/Authentication/UserWhiteCheckRequest.php
Normal file
32
extend/Yzh/Model/Authentication/UserWhiteCheckRequest.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 查看用户是否在非居民身份证验证名单中请求
|
||||
* Class UserWhiteCheckRequest
|
||||
*/
|
||||
class UserWhiteCheckRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user