TaskComment
extends BaseModel
Table of Contents
Properties
-
$createdAt
: string
-
$id
: int
-
$taskId
: int
-
$text
: string
-
$timeSpent
: int|null
-
$updatedAt
: string
-
$userId
: int
Methods
-
__construct()
: mixed
-
getCreatedAt()
: string
-
getId()
: int
-
getTaskId()
: int
-
getText()
: string
-
getTimeSpent()
: int|null
-
getUpdatedAt()
: string
-
getUserId()
: int
-
setText()
: void
-
setTimeSpent()
: void
$createdAt
protected
string
$createdAt
$id
protected
int
$id
$taskId
protected
int
$taskId
$text
protected
string
$text
$timeSpent
protected
int|null
$timeSpent
$updatedAt
protected
string
$updatedAt
$userId
protected
int
$userId
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
-
$data
: array<string|int, mixed>
= []
-
getCreatedAt()
public
getCreatedAt() : string
getId()
public
getId() : int
getTaskId()
public
getTaskId() : int
getText()
public
getText() : string
getTimeSpent()
public
getTimeSpent() : int|null
getUpdatedAt()
public
getUpdatedAt() : string
getUserId()
public
getUserId() : int
setText()
public
setText(string $text) : void
Parameters
-
$text
: string
-
setTimeSpent()
public
setTimeSpent(int|null $timeSpent) : void
Parameters
-
$timeSpent
: int|null
-