Logidav Docs

Truck
in package

Alert

Tags
ORM\Table

(name="mz_truck")

ORM\Entity

(repositoryClass="AppBundle\Repository\TruckRepository")

ORM\HasLifecycleCallbacks

()

Table of Contents

Properties

$carrier  : string
$createdAt  : DateTime
$customerNotified  : bool
$departedAt  : DateTime
$id  : int
$state  : string
$status  : string
$warehouse  : Warehouse|null

Methods

getCarrier()  : string
getCreatedAt()  : DateTime
getDepartedAt()  : DateTime|null
getId()  : int
getState()  : mixed
getStatus()  : string
getWarehouse()  : Warehouse|null
isCustomerNotified()  : bool
setCarrier()  : void
setCreatedAt()  : void
setCreatedAtValue()  : mixed
setCustomerNotified()  : void
setDepartedAt()  : void
setState()  : mixed
setStatus()  : void
setWarehouse()  : void

Properties

$carrier

private string $carrier
Tags
ORM\Column

(name="carrier", type="string")

$createdAt

private DateTime $createdAt
Tags
ORM\Column

(name="created_at", type="datetime")

$customerNotified

private bool $customerNotified = 0
Tags
ORM\Column

(name="customer_notified", type="boolean", options={"default":0})

$departedAt

private DateTime $departedAt
Tags
ORM\Column

(name="departed_at", type="datetime", nullable=true)

$id

private int $id
Tags
ORM\Column

(name="id", type="integer")

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$state

private string $state = 'pending'
Tags
ORM\Column

(name="state", type="string", options= {"default"="pending"})

$status

private string $status = 'open'
Tags
ORM\Column

(name="status", type="string", options= {"default"="open"})

$warehouse

private Warehouse|null $warehouse
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\Warehouse")

ORM\JoinColumn

(nullable=true)

Methods

getCarrier()

public getCarrier() : string
Return values
string

getCreatedAt()

public getCreatedAt() : DateTime
Return values
DateTime

getDepartedAt()

public getDepartedAt() : DateTime|null
Return values
DateTime|null

getId()

public getId() : int
Return values
int

getState()

public getState() : mixed

getStatus()

public getStatus() : string
Return values
string

isCustomerNotified()

public isCustomerNotified() : bool
Return values
bool

setCarrier()

public setCarrier(string $carrier) : void
Parameters
$carrier : string

setCreatedAt()

public setCreatedAt(DateTime $createdAt) : void
Parameters
$createdAt : DateTime

setCreatedAtValue()

public setCreatedAtValue() : mixed
Tags
ORM\PrePersist

setCustomerNotified()

public setCustomerNotified(bool $customerNotified) : void
Parameters
$customerNotified : bool

setDepartedAt()

public setDepartedAt(DateTime $departedAt) : void
Parameters
$departedAt : DateTime

setState()

public setState(mixed $state) : mixed
Parameters
$state : mixed

setStatus()

public setStatus(string $status) : void
Parameters
$status : string

        
On this page

Search results