代码初始化
This commit is contained in:
39
extend/Yzh/Model/Tax/GetTaxFileResponseData.php
Normal file
39
extend/Yzh/Model/Tax/GetTaxFileResponseData.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Tax;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 下载个人所得税申报明细表返回
|
||||
* Class GetTaxFileResponseData
|
||||
*/
|
||||
class GetTaxFileResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 文件详情
|
||||
* @var FileInfo[]
|
||||
*/
|
||||
protected $file_info;
|
||||
|
||||
/**
|
||||
* @var array $items
|
||||
*/
|
||||
public function setFileInfo($items)
|
||||
{
|
||||
$this->file_info = array();
|
||||
foreach ($items as $k => $v) {
|
||||
array_push($this->file_info, new FileInfo($v));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 文件详情
|
||||
* @return FileInfo[]
|
||||
*/
|
||||
public function getFileInfo()
|
||||
{
|
||||
return $this->file_info;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user