dbmsv4 init...4
This commit is contained in:
parent
cb9384bbbf
commit
7899fa8f5a
@ -50,6 +50,12 @@ class ServerEntity extends EquipmentEntity
|
||||
$val = $this->switchinfo_uid ?? null;
|
||||
return ($val === '' || $val === null) ? null : (int) $val;
|
||||
}
|
||||
public function setSwitchInfoUid($value)
|
||||
{
|
||||
$this->attributes['switchinfo_uid'] = ($value === '' || $value === null) ? null : (int) $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
//기본기능용
|
||||
public function getCustomTitle(mixed $title = null): string
|
||||
{
|
||||
|
||||
@ -37,18 +37,38 @@ class ServerPartEntity extends EquipmentEntity
|
||||
{
|
||||
return $this->clientinfo_uid ?? null;
|
||||
}
|
||||
public function setClientinfoUid($value)
|
||||
{
|
||||
$this->attributes['clientinfo_uid'] = ($value === '' || $value === null) ? null : (int) $value;
|
||||
return $this;
|
||||
}
|
||||
public function getServiceInfoUid(): int|null
|
||||
{
|
||||
return $this->serviceinfo_uid ?? null;
|
||||
}
|
||||
public function setServiceinfoUid($value)
|
||||
{
|
||||
$this->attributes['serviceinfo_uid'] = ($value === '' || $value === null) ? null : (int) $value;
|
||||
return $this;
|
||||
}
|
||||
public function getServerInfoUid(): int|null
|
||||
{
|
||||
return $this->serverinfo_uid ?? null;
|
||||
}
|
||||
public function setServerinfoUid($value)
|
||||
{
|
||||
$this->attributes['serverinfo_uid'] = ($value === '' || $value === null) ? null : (int) $value;
|
||||
return $this;
|
||||
}
|
||||
public function getPartUid(): int|null
|
||||
{
|
||||
return $this->part_uid ?? null;
|
||||
}
|
||||
public function setPartUid($value)
|
||||
{
|
||||
$this->attributes['part_uid'] = ($value === '' || $value === null) ? null : (int) $value;
|
||||
return $this;
|
||||
}
|
||||
//기본기능용
|
||||
public function getCustomTitle(): string
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user