-
#[Entity]
-
$repositoryClass: \App\Repository\SupplierRepository::class
Table of Contents
Properties
-
$adresse
: string|null
-
$archive_status
: bool|null
-
$city
: string|null
-
$country
: string|null
-
$created_at
: DateTimeImmutable|null
-
$email
: string|null
-
$fieldOfActivity
: FieldOfActivity|null
-
$id
: int|null
-
$logo
: mixed
-
$name
: string|null
-
$payment_terms
: string|null
-
$phone_number
: PhoneNumber|null
-
$pointOfSaleId
: int|null
-
$products
: Collection
-
$productStocks
: Collection
-
$site_web
: string|null
-
$status_supplier
: string|null
-
$updated_at
: DateTimeImmutable|null
Methods
-
__construct()
: mixed
-
addProduct()
: static
-
addProductStock()
: static
-
getAdresse()
: string|null
-
getCity()
: string|null
-
getCountry()
: string|null
-
getEmail()
: string|null
-
getFieldOfActivity()
: FieldOfActivity|null
-
getId()
: int|null
-
getLogo()
: mixed
-
getName()
: string|null
-
getPaymentTerms()
: string|null
-
getPhoneNumber()
: PhoneNumber|null
-
getPointOfSaleId()
: int|null
-
getProducts()
: Collection<int, Product>
-
getProductStocks()
: Collection<int, ProductStock>
-
getSiteWeb()
: string|null
-
getStatusSupplier()
: string|null
-
isArchiveStatus()
: bool|null
-
removeProduct()
: static
-
removeProductStock()
: static
-
setAdresse()
: static
-
setArchiveStatus()
: static
-
setCity()
: static
-
setCountry()
: static
-
setEmail()
: static
-
setFieldOfActivity()
: static
-
setLogo()
: static
-
setName()
: static
-
setPaymentTerms()
: static
-
setPhoneNumber()
: static
-
setPointOfSaleId()
: static
-
setSiteWeb()
: static
-
setStatusSupplier()
: static
$adresse
private
string|null
$adresse
= null
$archive_status
private
bool|null
$archive_status
= null
-
#[Column]
-
$nullable: true
$city
private
string|null
$city
= null
$country
private
string|null
$country
= null
$created_at
private
DateTimeImmutable|null
$created_at
= null
$email
private
string|null
$email
= null
-
#[Column]
-
$length: 255
-
$nullable: true
$fieldOfActivity
private
FieldOfActivity|null
$fieldOfActivity
= null
-
#[ManyToOne]
-
$inversedBy: 'suppliers'
$id
private
int|null
$id
= null
-
#[Column]
-
#[GeneratedValue]
-
#[Id]
$logo
private
mixed
$logo
= null
-
#[Column]
-
$type: \Doctrine\DBAL\Types\Types::BLOB
-
$nullable: true
$name
private
string|null
$name
= null
$payment_terms
private
string|null
$payment_terms
= null
-
#[Column]
-
$length: 255
-
$nullable: true
$phone_number
private
PhoneNumber|null
$phone_number
= null
-
#[Column]
-
$type: "phone_number"
-
$length: 255
-
$nullable: true
$pointOfSaleId
private
int|null
$pointOfSaleId
= null
$products
private
Collection
$products
-
#[OneToMany]
-
$mappedBy: 'supplier'
-
$targetEntity: \App\Entity\Product::class
$productStocks
private
Collection
$productStocks
-
#[OneToMany]
-
$mappedBy: 'supplier'
-
$targetEntity: \App\Entity\ProductStock::class
$site_web
private
string|null
$site_web
= null
-
#[Column]
-
$length: 255
-
$nullable: true
$status_supplier
private
string|null
$status_supplier
= null
$updated_at
private
DateTimeImmutable|null
$updated_at
= null
__construct()
public
__construct() : mixed
addProduct()
public
addProduct(Product $product) : static
Parameters
-
$product
: Product
-
addProductStock()
public
addProductStock(ProductStock $productStock) : static
Parameters
-
$productStock
: ProductStock
-
getAdresse()
public
getAdresse() : string|null
Return values
string|null
getCity()
public
getCity() : string|null
Return values
string|null
getCountry()
public
getCountry() : string|null
Return values
string|null
getEmail()
public
getEmail() : string|null
Return values
string|null
getFieldOfActivity()
public
getFieldOfActivity() : FieldOfActivity|null
getId()
public
getId() : int|null
getLogo()
public
getLogo() : mixed
getName()
public
getName() : string|null
Return values
string|null
getPaymentTerms()
public
getPaymentTerms() : string|null
Return values
string|null
getPhoneNumber()
public
getPhoneNumber() : PhoneNumber|null
Return values
PhoneNumber|null
getPointOfSaleId()
public
getPointOfSaleId() : int|null
getProducts()
public
getProducts() : Collection<int, Product>
Return values
Collection<int, Product>
getProductStocks()
public
getProductStocks() : Collection<int, ProductStock>
getSiteWeb()
public
getSiteWeb() : string|null
Return values
string|null
getStatusSupplier()
public
getStatusSupplier() : string|null
Return values
string|null
isArchiveStatus()
public
isArchiveStatus() : bool|null
removeProduct()
public
removeProduct(Product $product) : static
Parameters
-
$product
: Product
-
removeProductStock()
public
removeProductStock(ProductStock $productStock) : static
Parameters
-
$productStock
: ProductStock
-
setAdresse()
public
setAdresse(string $adresse) : static
Parameters
-
$adresse
: string
-
setArchiveStatus()
public
setArchiveStatus(bool|null $archive_status) : static
Parameters
-
$archive_status
: bool|null
-
setCity()
public
setCity(string $city) : static
Parameters
-
$city
: string
-
setCountry()
public
setCountry(string $country) : static
Parameters
-
$country
: string
-
setEmail()
public
setEmail(string $email) : static
Parameters
-
$email
: string
-
setFieldOfActivity()
public
setFieldOfActivity(FieldOfActivity|null $fieldOfActivity) : static
Parameters
-
$fieldOfActivity
: FieldOfActivity|null
-
setLogo()
public
setLogo(mixed $logo) : static
Parameters
-
$logo
: mixed
-
setName()
public
setName(string $name) : static
Parameters
-
$name
: string
-
setPaymentTerms()
public
setPaymentTerms(string $payment_terms) : static
Parameters
-
$payment_terms
: string
-
setPhoneNumber()
public
setPhoneNumber(PhoneNumber|null $phone_number) : static
Parameters
-
$phone_number
: PhoneNumber|null
-
setPointOfSaleId()
public
setPointOfSaleId(int $pointOfSaleId) : static
Parameters
-
$pointOfSaleId
: int
-
setSiteWeb()
public
setSiteWeb(string $site_web) : static
Parameters
-
$site_web
: string
-
setStatusSupplier()
public
setStatusSupplier(string $status_supplier) : static
Parameters
-
$status_supplier
: string
-