代码初始化
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 获取用户签约状态请求
|
||||
* Class GetUploadUserSignStatusRequest
|
||||
*/
|
||||
class GetUploadUserSignStatusRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 获取用户签约状态返回
|
||||
* Class GetUploadUserSignStatusResponse
|
||||
*/
|
||||
class GetUploadUserSignStatusResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return GetUploadUserSignStatusResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new GetUploadUserSignStatusResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,175 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 获取用户签约状态返回
|
||||
* Class GetUploadUserSignStatusResponseData
|
||||
*/
|
||||
class GetUploadUserSignStatusResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
protected $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
protected $id_card;
|
||||
/**
|
||||
* 签约状态
|
||||
* @var int32
|
||||
*/
|
||||
protected $status;
|
||||
/**
|
||||
* 创建时间
|
||||
* @var int64
|
||||
*/
|
||||
protected $created_at;
|
||||
/**
|
||||
* 更新时间
|
||||
* @var int64
|
||||
*/
|
||||
protected $updated_at;
|
||||
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string $dealer_id
|
||||
*/
|
||||
public function setDealerId($dealer_id)
|
||||
{
|
||||
$this->dealer_id = $dealer_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerId()
|
||||
{
|
||||
return $this->dealer_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string $broker_id
|
||||
*/
|
||||
public function setBrokerId($broker_id)
|
||||
{
|
||||
$this->broker_id = $broker_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerId()
|
||||
{
|
||||
return $this->broker_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
* @var string $real_name
|
||||
*/
|
||||
public function setRealName($real_name)
|
||||
{
|
||||
$this->real_name = $real_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
* @return string
|
||||
*/
|
||||
public function getRealName()
|
||||
{
|
||||
return $this->real_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string $id_card
|
||||
*/
|
||||
public function setIdCard($id_card)
|
||||
{
|
||||
$this->id_card = $id_card;
|
||||
}
|
||||
|
||||
/**
|
||||
* 证件号码
|
||||
* @return string
|
||||
*/
|
||||
public function getIdCard()
|
||||
{
|
||||
return $this->id_card;
|
||||
}
|
||||
|
||||
/**
|
||||
* 签约状态
|
||||
* @var int32 $status
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 签约状态
|
||||
* @return int32
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
* @var int64 $created_at
|
||||
*/
|
||||
public function setCreatedAt($created_at)
|
||||
{
|
||||
$this->created_at = $created_at;
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
* @return int64
|
||||
*/
|
||||
public function getCreatedAt()
|
||||
{
|
||||
return $this->created_at;
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
* @var int64 $updated_at
|
||||
*/
|
||||
public function setUpdatedAt($updated_at)
|
||||
{
|
||||
$this->updated_at = $updated_at;
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
* @return int64
|
||||
*/
|
||||
public function getUpdatedAt()
|
||||
{
|
||||
return $this->updated_at;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 签约成功状态回调通知
|
||||
* Class NotifyUploadUserSignRequest
|
||||
*/
|
||||
class NotifyUploadUserSignRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 手机号
|
||||
* @var string
|
||||
*/
|
||||
public $phone;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
57
extend/Yzh/Model/Uploadusersign/RelationCreateMsgRequest.php
Normal file
57
extend/Yzh/Model/Uploadusersign/RelationCreateMsgRequest.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 用户签约信息上传请求
|
||||
* Class RelationCreateMsgRequest
|
||||
*/
|
||||
class RelationCreateMsgRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 手机号
|
||||
* @var string
|
||||
*/
|
||||
public $phone;
|
||||
/**
|
||||
* 是否是海外用户
|
||||
* @var bool
|
||||
*/
|
||||
public $is_abroad;
|
||||
/**
|
||||
* 签约回调地址
|
||||
* @var string
|
||||
*/
|
||||
public $notify_url;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 用户签约信息上传返回
|
||||
* Class RelationCreateMsgResponse
|
||||
*/
|
||||
class RelationCreateMsgResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return RelationCreateMsgResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new RelationCreateMsgResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 用户签约信息上传返回
|
||||
* Class RelationCreateMsgResponseData
|
||||
*/
|
||||
class RelationCreateMsgResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 上传状态
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* 上传状态
|
||||
* @var string $status
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传状态
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 签约成功状态回调通知
|
||||
* Class UploadUserSignNotifyRequest
|
||||
*/
|
||||
class UploadUserSignNotifyRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 手机号
|
||||
* @var string
|
||||
*/
|
||||
public $phone;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
57
extend/Yzh/Model/Uploadusersign/UploadUserSignRequest.php
Normal file
57
extend/Yzh/Model/Uploadusersign/UploadUserSignRequest.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 用户签约信息上传请求
|
||||
* Class UploadUserSignRequest
|
||||
*/
|
||||
class UploadUserSignRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 手机号
|
||||
* @var string
|
||||
*/
|
||||
public $phone;
|
||||
/**
|
||||
* 是否是海外用户
|
||||
* @var bool
|
||||
*/
|
||||
public $is_abroad;
|
||||
/**
|
||||
* 签约回调地址
|
||||
* @var string
|
||||
*/
|
||||
public $notify_url;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Uploadusersign/UploadUserSignResponse.php
Normal file
33
extend/Yzh/Model/Uploadusersign/UploadUserSignResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 用户签约信息上传返回
|
||||
* Class UploadUserSignResponse
|
||||
*/
|
||||
class UploadUserSignResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return UploadUserSignResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new UploadUserSignResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Uploadusersign;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 用户签约信息上传返回
|
||||
* Class UploadUserSignResponseData
|
||||
*/
|
||||
class UploadUserSignResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 上传状态
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* 上传状态
|
||||
* @var string $status
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传状态
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user