48 lines
1000 B
PHP
48 lines
1000 B
PHP
|
|
<?php
|
|||
|
|
|
|||
|
|
namespace Yzh\Model\Dataservice;
|
|||
|
|
|
|||
|
|
use Yzh\Model\BaseRequest;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 查询月订单汇总数据请求
|
|||
|
|
* Class ListMonthlyOrderSummaryRequest
|
|||
|
|
*/
|
|||
|
|
class ListMonthlyOrderSummaryRequest extends BaseRequest
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* 综合服务主体 ID
|
|||
|
|
* @var string
|
|||
|
|
*/
|
|||
|
|
public $broker_id;
|
|||
|
|
/**
|
|||
|
|
* 平台企业 ID
|
|||
|
|
* @var string
|
|||
|
|
*/
|
|||
|
|
public $dealer_id;
|
|||
|
|
/**
|
|||
|
|
* 支付路径,银行卡、支付宝、微信
|
|||
|
|
* @var string
|
|||
|
|
*/
|
|||
|
|
public $channel;
|
|||
|
|
/**
|
|||
|
|
* 汇总月份,格式:yyyy-MM
|
|||
|
|
* @var string
|
|||
|
|
*/
|
|||
|
|
public $month;
|
|||
|
|
/**
|
|||
|
|
* 筛选类型,apply:按订单创建时间汇总 complete:按订单完成时间汇总
|
|||
|
|
* @var string
|
|||
|
|
*/
|
|||
|
|
public $filter_type;
|
|||
|
|
|
|||
|
|
public function __construct($params = array())
|
|||
|
|
{
|
|||
|
|
foreach (array_keys(get_object_vars($this)) as $property) {
|
|||
|
|
if (isset($params[$property])) {
|
|||
|
|
$this->{$property} = $params[$property];
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|