MedicalCenterDomain
in package
implements
JsonSerializable
Represents a Medical Center domain object.
Tags
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $active : bool|null
- $createdAt : DateTime|null
- $id : int|null
- $latitude : float|null
- $longitude : float|null
- $name : string|null
- $timeZone : TimeZoneDomain|null
- $zoneName : string|null
- getActive() : bool|null
- Get the active flag.
- getCreatedAt() : DateTime|null
- Get the creation date and time.
- getId() : int|null
- Get the unique identifier.
- getLatitude() : float|null
- Get the latitude coordinate.
- getLongitude() : float|null
- Get the longitude coordinate.
- getName() : string|null
- Get the name.
- getTimeZone() : TimeZoneDomain|null
- Get the time zone domain object.
- getZoneName() : string|null
- Get the time zone ID.
- jsonSerialize() : array<string|int, mixed>
- Convert the MedicalCenterDomain object to an associative array for JSON serialization.
- setActive() : self
- Set the active flag.
- setCreatedAt() : self
- Set the creation date and time.
- setId() : self
- Set the unique identifier.
- setLatitude() : self
- Set the latitude coordinate.
- setLongitude() : self
- Set the longitude coordinate.
- setName() : self
- Set the name.
- setTimeZone() : self
- Set the time zone domain object.
- setZoneName() : self
- Set the time zone ID.
Properties
$active
private
bool|null
$active
= null
Flag indicating if the medical center is active.
$createdAt
private
DateTime|null
$createdAt
= null
The creation date and time of the medical center.
$id
private
int|null
$id
= null
The unique identifier of the medical center.
$latitude
private
float|null
$latitude
= null
The latitude coordinate of the medical center.
$longitude
private
float|null
$longitude
= null
The longitude coordinate of the medical center.
$name
private
string|null
$name
= null
The name of the medical center.
$timeZone
private
TimeZoneDomain|null
$timeZone
= null
The time zone domain object associated with the medical center.
$zoneName
private
string|null
$zoneName
= null
The ID of the time zone associated with the medical center.
Methods
getActive()
Get the active flag.
public
getActive() : bool|null
Return values
bool|null —The active flag.
getCreatedAt()
Get the creation date and time.
public
getCreatedAt() : DateTime|null
Return values
DateTime|null —The creation date and time.
getId()
Get the unique identifier.
public
getId() : int|null
Return values
int|null —The unique identifier.
getLatitude()
Get the latitude coordinate.
public
getLatitude() : float|null
Return values
float|null —The latitude coordinate.
getLongitude()
Get the longitude coordinate.
public
getLongitude() : float|null
Return values
float|null —The longitude coordinate.
getName()
Get the name.
public
getName() : string|null
Return values
string|null —The name.
getTimeZone()
Get the time zone domain object.
public
getTimeZone() : TimeZoneDomain|null
Return values
TimeZoneDomain|null —The time zone domain object.
getZoneName()
Get the time zone ID.
public
getZoneName() : string|null
Return values
string|null —The time zone ID.
jsonSerialize()
Convert the MedicalCenterDomain object to an associative array for JSON serialization.
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —The associative array representation of the MedicalCenterDomain object.
setActive()
Set the active flag.
public
setActive(bool|null $active) : self
Parameters
- $active : bool|null
-
The active flag.
Return values
self —setCreatedAt()
Set the creation date and time.
public
setCreatedAt(DateTime|null $createdAt) : self
Parameters
- $createdAt : DateTime|null
-
The creation date and time.
Return values
self —setId()
Set the unique identifier.
public
setId(int|null $id) : self
Parameters
- $id : int|null
-
The unique identifier.
Return values
self —setLatitude()
Set the latitude coordinate.
public
setLatitude(float|null $latitude) : self
Parameters
- $latitude : float|null
-
The latitude coordinate.
Return values
self —setLongitude()
Set the longitude coordinate.
public
setLongitude(float|null $longitude) : self
Parameters
- $longitude : float|null
-
The longitude coordinate.
Return values
self —setName()
Set the name.
public
setName(string|null $name) : self
Parameters
- $name : string|null
-
The name.
Return values
self —setTimeZone()
Set the time zone domain object.
public
setTimeZone(TimeZoneDomain|null $timeZone) : self
Parameters
- $timeZone : TimeZoneDomain|null
-
The time zone domain object.
Return values
self —setZoneName()
Set the time zone ID.
public
setZoneName(string|null $zoneName) : self
Parameters
- $zoneName : string|null
-
The time zone ID.