|
|
@@ -6,37 +6,40 @@ class UpdateEnableStatus
|
|
|
{
|
|
|
/**
|
|
|
* 打包状态
|
|
|
+ * @var null|int
|
|
|
*/
|
|
|
- private string $enable_status = '';
|
|
|
+ private ?int $enable_status = null;
|
|
|
/**
|
|
|
* 打包url
|
|
|
+ * @var null|string
|
|
|
*/
|
|
|
- private string $pack_url = '';
|
|
|
+ private ?string $pack_url = null;
|
|
|
/**
|
|
|
* 打包备注
|
|
|
+ * @var null|string
|
|
|
*/
|
|
|
- private string $pack_mark = '';
|
|
|
+ private ?string $pack_mark = null;
|
|
|
|
|
|
/**
|
|
|
- * @return string
|
|
|
+ * @return int
|
|
|
*/
|
|
|
- public function getEnableStatus(): string
|
|
|
+ public function getEnableStatus(): int
|
|
|
{
|
|
|
return $this->enable_status;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @param string $enable_status
|
|
|
+ * @param int $enable_status
|
|
|
*/
|
|
|
- public function setEnableStatus(string $enable_status): void
|
|
|
+ public function setEnableStatus(int $enable_status): void
|
|
|
{
|
|
|
$this->enable_status = $enable_status;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @return string
|
|
|
+ * @return ?string
|
|
|
*/
|
|
|
- public function getPackUrl(): string
|
|
|
+ public function getPackUrl(): ?string
|
|
|
{
|
|
|
return $this->pack_url;
|
|
|
}
|
|
|
@@ -50,9 +53,9 @@ class UpdateEnableStatus
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @return string
|
|
|
+ * @return ?string
|
|
|
*/
|
|
|
- public function getPackMark(): string
|
|
|
+ public function getPackMark(): ?string
|
|
|
{
|
|
|
return $this->pack_mark;
|
|
|
}
|