ReportSettingsTemplate
extends BaseModel
in package
Table of Contents
Properties
- $config : ReportSettingsTemplateConfig
- $createdAt : string
- $currency : string
- $id : int
- $isGlobal : bool
- $isPublic : bool
- $name : string
- $unit : string
- $updatedAt : string|null
Methods
- __construct() : mixed
- getConfig() : ReportSettingsTemplateConfig
- getCreatedAt() : string
- getCurrency() : string
- getId() : int
- getIsGlobal() : bool
- getIsPublic() : bool
- getName() : string
- getUnit() : string
- getUpdatedAt() : string|null
- setConfig() : void
- setCurrency() : void
- setIsPublic() : void
- setName() : void
- setUnit() : void
- toArray() : array<string|int, mixed>
Properties
$config
protected
ReportSettingsTemplateConfig
$config
$createdAt
protected
string
$createdAt
$currency
protected
string
$currency
$id
protected
int
$id
$isGlobal
protected
bool
$isGlobal
$isPublic
protected
bool
$isPublic
$name
protected
string
$name
$unit
protected
string
$unit
$updatedAt
protected
string|null
$updatedAt
Methods
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
getConfig()
public
getConfig() : ReportSettingsTemplateConfig
Return values
ReportSettingsTemplateConfiggetCreatedAt()
public
getCreatedAt() : string
Return values
stringgetCurrency()
public
getCurrency() : string
Return values
stringgetId()
public
getId() : int
Return values
intgetIsGlobal()
public
getIsGlobal() : bool
Return values
boolgetIsPublic()
public
getIsPublic() : bool
Return values
boolgetName()
public
getName() : string
Return values
stringgetUnit()
public
getUnit() : string
Return values
stringgetUpdatedAt()
public
getUpdatedAt() : string|null
Return values
string|nullsetConfig()
public
setConfig(ReportSettingsTemplateConfig $config) : void
Parameters
- $config : ReportSettingsTemplateConfig
setCurrency()
public
setCurrency(string $currency) : void
Parameters
- $currency : string
setIsPublic()
public
setIsPublic(bool $isPublic) : void
Parameters
- $isPublic : bool
setName()
public
setName(string $name) : void
Parameters
- $name : string
setUnit()
public
setUnit(string $unit) : void
Parameters
- $unit : string
toArray()
public
toArray() : array<string|int, mixed>