HistoryPurchaseOrder
-
#[Entity]
-
$repositoryClass: \App\Repository\HistoryPurchaseOrderRepository::class
Table of Contents
Properties
-
$created_at
: DateTimeImmutable|null
-
$demande
: string|null
-
$id
: int|null
-
$product
: Product|null
-
$productStock
: ProductStock|null
-
$purchaseOrder
: PurchaseOrder|null
-
$quantity
: int|null
-
$status
: string|null
-
$type
: string|null
-
$user
: user|null
Methods
-
getCreatedAt()
: DateTimeImmutable|null
-
getDemande()
: string|null
-
getId()
: int|null
-
getProduct()
: Product|null
-
getProductStock()
: ProductStock|null
-
getPurchaseOrder()
: PurchaseOrder|null
-
getQuantity()
: int|null
-
getStatus()
: string|null
-
getType()
: string|null
-
getUser()
: user|null
-
setCreatedAt()
: static
-
setDemande()
: static
-
setProduct()
: static
-
setProductStock()
: static
-
setPurchaseOrder()
: static
-
setQuantity()
: static
-
setStatus()
: static
-
setType()
: static
-
setUser()
: static
$created_at
private
DateTimeImmutable|null
$created_at
= null
-
#[Column]
-
$nullable: true
$demande
private
string|null
$demande
= null
Attributes
-
#[Column]
-
$length: 255
-
$nullable: true
$id
private
int|null
$id
= null
-
#[Column]
-
#[GeneratedValue]
-
#[Id]
$product
private
Product|null
$product
= null
-
#[ManyToOne]
-
$inversedBy: 'historyPurchaseOrders'
$productStock
private
ProductStock|null
$productStock
= null
-
#[ManyToOne]
-
$inversedBy: 'historyPurchaseOrders'
$purchaseOrder
private
PurchaseOrder|null
$purchaseOrder
= null
-
#[ManyToOne]
-
$inversedBy: 'historyPurchaseOrders'
$quantity
private
int|null
$quantity
= null
-
#[Column]
-
$nullable: true
$status
private
string|null
$status
= null
-
#[Column]
-
$length: 255
-
$nullable: true
$type
private
string|null
$type
= null
-
#[Column]
-
$length: 255
-
$nullable: true
$user
private
user|null
$user
= null
-
#[ManyToOne]
-
$targetEntity: \App\Entity\User::class
-
$inversedBy: 'historyPurchaseOrders'
getCreatedAt()
public
getCreatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null
getDemande()
public
getDemande() : string|null
Return values
string|null
getId()
public
getId() : int|null
getProduct()
public
getProduct() : Product|null
getProductStock()
public
getProductStock() : ProductStock|null
getPurchaseOrder()
public
getPurchaseOrder() : PurchaseOrder|null
getQuantity()
public
getQuantity() : int|null
getStatus()
public
getStatus() : string|null
Return values
string|null
getType()
public
getType() : string|null
Return values
string|null
getUser()
public
getUser() : user|null
setCreatedAt()
public
setCreatedAt(DateTimeImmutable|null $created_at) : static
Parameters
-
$created_at
: DateTimeImmutable|null
-
setDemande()
public
setDemande(string|null $demande) : static
Parameters
-
$demande
: string|null
-
setProduct()
public
setProduct(Product|null $product) : static
Parameters
-
$product
: Product|null
-
setProductStock()
public
setProductStock(ProductStock|null $productStock) : static
Parameters
-
$productStock
: ProductStock|null
-
setPurchaseOrder()
public
setPurchaseOrder(PurchaseOrder|null $purchaseOrder) : static
Parameters
-
$purchaseOrder
: PurchaseOrder|null
-
setQuantity()
public
setQuantity(int|null $quantity) : static
Parameters
-
$quantity
: int|null
-
setStatus()
public
setStatus(string|null $status) : static
Parameters
-
$status
: string|null
-
setType()
public
setType(string|null $type) : static
Parameters
-
$type
: string|null
-
setUser()
public
setUser(user|null $user) : static
Parameters
-
$user
: user|null
-