WarrantRosterApproval
extends BaseEntity
in package
WarrantRosterApproval Entity
Table of Contents
Properties
- $approved : bool
- $approver_id : int
- $approver_notes : string|null
- $authorization_token : string
- $branch_id : int|null
- $created : DateTime|null
- $id : int
- $member : Member
- $modified : DateTime|null
- $requested_on : DateTime
- $responded_on : DateTime|null
- $warrant_roster_approval_set : WarrantRoster
- $warrant_roster_id : int
- $_accessible : array<string, bool>
- Fields that can be mass assigned using newEntity() or patchEntity().
Methods
- getBranchId() : int|null
- Get the branch ID for authorization checks.
Properties
$approved
public
bool
$approved
$approver_id
public
int
$approver_id
$approver_notes
public
string|null
$approver_notes
$authorization_token
public
string
$authorization_token
$branch_id
public
int|null
$branch_id
Associated branch ID (when applicable)
$created
public
DateTime|null
$created
Creation timestamp
$id
public
int
$id
$member
public
Member
$member
$modified
public
DateTime|null
$modified
Last modification timestamp
$requested_on
public
DateTime
$requested_on
$responded_on
public
DateTime|null
$responded_on
$warrant_roster_approval_set
public
WarrantRoster
$warrant_roster_approval_set
$warrant_roster_id
public
int
$warrant_roster_id
$_accessible
Fields that can be mass assigned using newEntity() or patchEntity().
protected
array<string, bool>
$_accessible
= ['warrant_roster_id' => true, 'approver_id' => true, 'authorization_token' => true, 'requested_on' => true, 'responded_on' => true, 'approved' => true, 'approver_notes' => true, 'warrant_roster_approval_set' => true, 'member' => true]
Note that when '' is set to true, this allows all unspecified fields to be mass assigned. For security purposes, it is advised to set '' to false (or remove it), and explicitly make individual fields accessible as needed.
Methods
getBranchId()
Get the branch ID for authorization checks.
public
getBranchId() : int|null
Child classes should override for complex branch relationships.
Return values
int|null —The branch ID, or null if no association