feat(studio): 增加了清锋可打印性分析任务的资源模型

This commit is contained in:
李东云
2022-09-21 22:01:04 +08:00
parent ac9e85caf3
commit dec27fa3d2

View File

@@ -0,0 +1,40 @@
<?php
/**
* PrintabilityRisk.php@HDK
*
* @author 李东云<dongyun.li@luxcreo.cn>
* Powered by PhpStorm
* Created on 2022/7/26
*/
declare(strict_types=1);
namespace Singularity\HDK\Studio\Resource\Workspace\Tasks\Detail;
use Singularity\HDK\Studio\Resource\Workspace\Tasks\OrderDetail;
/**
* 用于历史记录详情的清锋可打印性分析任务格式
* Singularity\HDK\Studio\Resource\Workspace\Tasks\Detail\PrintabilityRisk@HDK
*
* @author 李东云<dongyun.li@luxcreo.cn>
* Powered by PhpStorm
* Created on 2022/7/26
*
* @property string $completeHistogramUrl
* @property string $completeTopShotUrl
* @property string $completeSideShotUrl
* @property string $completeFrontShotUrl
*/
class PrintabilityRisk extends OrderDetail
{
public function toArray(): array
{
return [
'histogramUrl' => $this->completeHistogramUrl,
'topShotUrl' => $this->completeTopShotUrl,
'sideShotUrl' => $this->completeSideShotUrl,
'frontShotUrl' => $this->completeFrontShotUrl,
];
}
}