<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* DocumentSettings
*
* @ORM\Table(name="document_settings")
* @ORM\Entity(repositoryClass="App\Repository\DocumentSettingsRepository")
*/
class DocumentSettings
{
/**
* @var \Ramsey\Uuid\UuidInterface
*
* @ORM\Id
* @ORM\Column(type="uuid", unique=true)
* @ORM\GeneratedValue(strategy="CUSTOM")
* @ORM\CustomIdGenerator(class="Ramsey\Uuid\Doctrine\UuidGenerator")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="template", type="integer", nullable=true)
*/
private $template;
/**
* @var int
*
* @ORM\Column(name="tipo", type="integer", nullable=true)
*/
private $tipo;
/**
* @var int
*
* @ORM\Column(name="modelo", type="integer", nullable=true)
*/
private $modelo;
/**
* @var bool
*
* @ORM\Column(name="header_logotipo", type="boolean", nullable=true)
*/
private $headerLogotipo;
/**
* @var bool
*
* @ORM\Column(name="header_company_name", type="boolean", nullable=true)
*/
private $headerCompanyName;
/**
* @var bool
*
* @ORM\Column(name="header_company_telephone", type="boolean", nullable=true)
*/
private $headerCompanyTelephone;
/**
* @var bool
*
* @ORM\Column(name="header_company_fax", type="boolean", nullable=true)
*/
private $headerCompanyFax;
/**
* @var bool
*
* @ORM\Column(name="header_company_email",type="boolean", nullable=true)
*/
private $headerCompanyEmail;
/**
* @var bool
*
* @ORM\Column(name="header_company_social_capital", type="boolean", nullable=true)
*/
private $headerCompanySocialCapital;
/**
* @var int
*
* @ORM\Column(name="header_company_nif", type="boolean", nullable=true)
*/
private $headerCompanyNif;
/**
* @var bool
*
* @ORM\Column(name="header_company_slogan", type="boolean", nullable=true)
*/
private $headerCompanySlogan;
/**
* @var bool
*
* @ORM\Column(name="header_client_telephone", type="boolean", nullable=true)
*/
private $headerClientTelephone;
/**
* @var bool
*
* @ORM\Column(name="header_client_email", type="boolean", nullable=true)
*/
private $headerClientEmail;
/**
* @return bool
*/
public function isPaymentMethods()
{
return $this->paymentMethods;
}
/**
* @param bool $paymentMethods
*/
public function setPaymentMethods(bool $paymentMethods)
{
$this->paymentMethods = $paymentMethods;
}
/**
* @var bool
*
* @ORM\Column(name="header_client_address", type="boolean", nullable=true)
*/
private $headerClientAddress;
/**
* @var bool
*
* @ORM\Column(name="header_client_number", type="boolean", nullable=true)
*/
private $headerClientNumber;
/**
* @var bool
*
* @ORM\Column(name="header_invoice_due_date", type="boolean", nullable=true)
*/
private $headerInvoiceDueDate;
/**
* @var bool
*
* @ORM\Column(name="header_invoice_doc_date", type="boolean", nullable=true)
*/
private $headerInvoiceDocDate;
/**
* @var bool
*
* @ORM\Column(name="body_article_code", type="boolean", nullable=true)
*/
private $bodyArticleCode;
/**
* @var bool
*
* @ORM\Column(name="body_article_iva", type="boolean", nullable=true)
*/
private $bodyArticleIva;
/**
* @var bool
*
* @ORM\Column(name="body_article_discount", type="boolean", nullable=true)
*/
private $bodyArticleDiscount;
/**
* @var bool
*
* @ORM\Column(name="body_article_discount_percent", type="boolean", nullable=true)
*/
private $bodyArticleDiscountPercent=false;
/**
* @var bool
*
* @ORM\Column(name="body_article_description", type="boolean", nullable=true)
*/
private $bodyArticleDescription;
/**
* @var bool
*
* @ORM\Column(name="body_article_type", type="boolean", nullable=true)
*/
private $bodyArticleType;
/**
* @var bool
*
* @ORM\Column(name="footer_obs", type="boolean", nullable=true)
*/
private $footerObs;
/**
* @var bool
*
* @ORM\Column(name="footer_qr", type="boolean", nullable=true)
*/
private $footerQr;
/**
* @var bool
*
* @ORM\Column(name="footer_comment", type="boolean", nullable=true)
*/
private $footerComment;
/**
* @var bool
*
* @ORM\Column(name="footer_alternative_curency", type="boolean", nullable=true)
*/
private $footerAlternativeCurency;
/**
* @var bool
*
* @ORM\Column(name="footer_full_amount", type="boolean", nullable=true)
*/
private $footerFullAmount;
/**
* @var bool
*
* @ORM\Column(name="footer_payment_method", type="boolean", nullable=true)
*/
private $paymentMethods;
/**
* @var bool
*
* @ORM\Column(name="footer_warranty_conditions", type="boolean", nullable=true)
*/
private $warrantyConditions;
/**
* @var string
*
* @ORM\Column(name="default_color", type="string", length=255, nullable=true)
*/
private $defaultColor;
/**
* Get id
*
* @return \Ramsey\Uuid\UuidInterface
*/
public function getId()
{
return $this->id;
}
/**
* Set tipo
*
* @param integer $tipo
*
* @return DocumentSettings
*/
public function setTipo($tipo)
{
$this->tipo = $tipo;
return $this;
}
/**
* Get tipo
*
* @return int
*/
public function getTipo()
{
return $this->tipo;
}
/**
* Set modelo
*
* @param integer $modelo
*
* @return DocumentSettings
*/
public function setModelo($modelo)
{
$this->modelo = $modelo;
return $this;
}
/**
* Get modelo
*
* @return int
*/
public function getModelo()
{
return $this->modelo;
}
/**
* Set headerLogotipo
*
* @param integer $headerLogotipo
*
* @return DocumentSettings
*/
public function setHeaderLogotipo($headerLogotipo)
{
$this->headerLogotipo = $headerLogotipo;
return $this;
}
/**
* Get headerLogotipo
*
* @return int
*/
public function getHeaderLogotipo()
{
return $this->headerLogotipo;
}
/**
* Set headerCompanyTelephone
*
* @param integer $headerCompanyTelephone
*
* @return DocumentSettings
*/
public function setHeaderCompanyTelephone($headerCompanyTelephone)
{
$this->headerCompanyTelephone = $headerCompanyTelephone;
return $this;
}
/**
* Get headerCompanyTelephone
*
* @return int
*/
public function getHeaderCompanyTelephone()
{
return $this->headerCompanyTelephone;
}
/**
* Set headerCompanyFax
*
* @param integer $headerCompanyFax
*
* @return DocumentSettings
*/
public function setHeaderCompanyFax($headerCompanyFax)
{
$this->headerCompanyFax = $headerCompanyFax;
return $this;
}
/**
* Get headerCompanyFax
*
* @return int
*/
public function getHeaderCompanyFax()
{
return $this->headerCompanyFax;
}
/**
* Set headerCompanyEmail
*
* @param integer $headerCompanyEmail
*
* @return DocumentSettings
*/
public function setHeaderCompanyEmail($headerCompanyEmail)
{
$this->headerCompanyEmail = $headerCompanyEmail;
return $this;
}
/**
* Get headerCompanyEmail
*
* @return int
*/
public function getHeaderCompanyEmail()
{
return $this->headerCompanyEmail;
}
/**
* Set headerCompanySocialCapital
*
* @param integer $headerCompanySocialCapital
*
* @return DocumentSettings
*/
public function setHeaderCompanySocialCapital($headerCompanySocialCapital)
{
$this->headerCompanySocialCapital = $headerCompanySocialCapital;
return $this;
}
/**
* Get headerCompanySocialCapital
*
* @return int
*/
public function getHeaderCompanySocialCapital()
{
return $this->headerCompanySocialCapital;
}
/**
* Set headerCompanyNif
*
* @param integer $headerCompanyNif
*
* @return DocumentSettings
*/
public function setHeaderCompanyNif($headerCompanyNif)
{
$this->headerCompanyNif = $headerCompanyNif;
return $this;
}
/**
* Get headerCompanyNif
*
* @return int
*/
public function getHeaderCompanyNif()
{
return $this->headerCompanyNif;
}
/**
* Set headerCompanySlogan
*
* @param integer $headerCompanySlogan
*
* @return DocumentSettings
*/
public function setHeaderCompanySlogan($headerCompanySlogan)
{
$this->headerCompanySlogan = $headerCompanySlogan;
return $this;
}
/**
* Get headerCompanySlogan
*
* @return int
*/
public function getHeaderCompanySlogan()
{
return $this->headerCompanySlogan;
}
/**
* Set headerClientTelephone
*
* @param integer $headerClientTelephone
*
* @return DocumentSettings
*/
public function setHeaderClientTelephone($headerClientTelephone)
{
$this->headerClientTelephone = $headerClientTelephone;
return $this;
}
/**
* Get headerClientTelephone
*
* @return int
*/
public function getHeaderClientTelephone()
{
return $this->headerClientTelephone;
}
/**
* Set headerClientAddress
*
* @param integer $headerClientAddress
*
* @return DocumentSettings
*/
public function setHeaderClientAddress($headerClientAddress)
{
$this->headerClientAddress = $headerClientAddress;
return $this;
}
/**
* Get headerClientAddress
*
* @return int
*/
public function getHeaderClientAddress()
{
return $this->headerClientAddress;
}
/**
* Set headerClientNumber
*
* @param integer $headerClientNumber
*
* @return DocumentSettings
*/
public function setHeaderClientNumber($headerClientNumber)
{
$this->headerClientNumber = $headerClientNumber;
return $this;
}
/**
* Get headerClientNumber
*
* @return int
*/
public function getHeaderClientNumber()
{
return $this->headerClientNumber;
}
/**
* Set headerInvoiceDueDate
*
* @param integer $headerInvoiceDueDate
*
* @return DocumentSettings
*/
public function setHeaderInvoiceDueDate($headerInvoiceDueDate)
{
$this->headerInvoiceDueDate = $headerInvoiceDueDate;
return $this;
}
/**
* Get headerInvoiceDueDate
*
* @return int
*/
public function getHeaderInvoiceDueDate()
{
return $this->headerInvoiceDueDate;
}
/**
* Set headerInvoiceDocDate
*
* @param integer $headerInvoiceDocDate
*
* @return DocumentSettings
*/
public function setHeaderInvoiceDocDate($headerInvoiceDocDate)
{
$this->headerInvoiceDocDate = $headerInvoiceDocDate;
return $this;
}
/**
* Get headerInvoiceDocDate
*
* @return int
*/
public function getHeaderInvoiceDocDate()
{
return $this->headerInvoiceDocDate;
}
/**
* Set bodyArticleCode
*
* @param integer $bodyArticleCode
*
* @return DocumentSettings
*/
public function setBodyArticleCode($bodyArticleCode)
{
$this->bodyArticleCode = $bodyArticleCode;
return $this;
}
/**
* Get bodyArticleCode
*
* @return int
*/
public function getBodyArticleCode()
{
return $this->bodyArticleCode;
}
/**
* Set bodyArticleIva
*
* @param $bodyArticleIva
*
* @return DocumentSettings
*/
public function setBodyArticleIva($bodyArticleIva)
{
$this->bodyArticleIva = $bodyArticleIva;
return $this;
}
/**
* Get bodyArticleIva
*
* @return bool
*/
public function getBodyArticleIva()
{
return $this->bodyArticleIva;
}
/**
* Set bodyArticleDiscount
*
* @param $bodyArticleDiscount
*
* @return DocumentSettings
*/
public function setBodyArticleDiscount($bodyArticleDiscount)
{
$this->bodyArticleDiscount = $bodyArticleDiscount;
return $this;
}
/**
* Get bodyArticleDiscount
*
* @return bool
*/
public function getBodyArticleDiscount()
{
return $this->bodyArticleDiscount;
}
/**
* Set bodyArticleDescription
*
* @param $bodyArticleDescription
*
* @return DocumentSettings
*/
public function setBodyArticleDescription($bodyArticleDescription)
{
$this->bodyArticleDescription = $bodyArticleDescription;
return $this;
}
/**
* Get bodyArticleDescription
*
* @return bool
*/
public function getBodyArticleDescription()
{
return $this->bodyArticleDescription;
}
/**
* Set bodyArticleType
*
* @param $bodyArticleType
*
* @return DocumentSettings
*/
public function setBodyArticleType($bodyArticleType)
{
$this->bodyArticleType = $bodyArticleType;
return $this;
}
/**
* Get bodyArticleType
*
* @return bool
*/
public function getBodyArticleType()
{
return $this->bodyArticleType;
}
/**
* Set footerObs
*
* @param $footerObs
*
* @return DocumentSettings
*/
public function setFooterObs($footerObs)
{
$this->footerObs = $footerObs;
return $this;
}
/**
* Get footerObs
*
* @return bool
*/
public function getFooterObs()
{
return $this->footerObs;
}
/**
* Set footerComment
*
* @param $footerComment
*
* @return DocumentSettings
*/
public function setFooterComment($footerComment)
{
$this->footerComment = $footerComment;
return $this;
}
/**
* Get footerComment
*
* @return bool
*/
public function getFooterComment()
{
return $this->footerComment;
}
/**
* Set footerAlternativeCurency
*
* @param $footerAlternativeCurency
*
* @return DocumentSettings
*/
public function setFooterAlternativeCurency($footerAlternativeCurency)
{
$this->footerAlternativeCurency = $footerAlternativeCurency;
return $this;
}
/**
* Get footerAlternativeCurency
*
* @return bool
*/
public function getFooterAlternativeCurency()
{
return $this->footerAlternativeCurency;
}
/**
* Set defaultColor
*
* @param string $defaultColor
*
* @return DocumentSettings
*/
public function setDefaultColor($defaultColor)
{
$this->defaultColor = $defaultColor;
return $this;
}
/**
* Get defaultColor
*
* @return string
*/
public function getDefaultColor()
{
return $this->defaultColor;
}
/**
* @return bool
*/
public function isWarrantyConditions()
{
return $this->warrantyConditions;
}
/**
* @param bool $warrantyConditions
*/
public function setWarrantyConditions($warrantyConditions)
{
$this->warrantyConditions = $warrantyConditions;
}
/**
* @return bool
*/
public function isHeaderClientEmail()
{
return $this->headerClientEmail;
}
/**
* @param bool $headerClientEmail
*/
public function setHeaderClientEmail($headerClientEmail)
{
$this->headerClientEmail = $headerClientEmail;
}
/**
* @return bool
*/
public function isHeaderCompanyName()
{
return $this->headerCompanyName;
}
/**
* @param bool $headerCompanyName
*/
public function setHeaderCompanyName($headerCompanyName)
{
$this->headerCompanyName = $headerCompanyName;
}
/**
* @return bool
*/
public function isFooterQr()
{
return $this->footerQr;
}
/**
* @param bool $footerQr
*/
public function setFooterQr($footerQr)
{
$this->footerQr = $footerQr;
}
/**
* @return bool
*/
public function isFooterFullAmount()
{
return $this->footerFullAmount;
}
/**
* @param bool $footerFullAmount
*/
public function setFooterFullAmount($footerFullAmount)
{
$this->footerFullAmount = $footerFullAmount;
}
/**
* Get the value of template
*/
public function getTemplate()
{
return is_null($this->template) ? 0 : $this->template ;
}
/**
* Set the value of template
*/
public function setTemplate($template)
{
$this->template = $template;
return $this;
}
/**
* Get the value of bodyArticleDiscountPercent
*
* @return bool
*/
public function getBodyArticleDiscountPercent()
{
return $this->bodyArticleDiscountPercent;
}
/**
* Set the value of bodyArticleDiscountPercent
*
* @param bool $bodyArticleDiscountPercent
*
* @return self
*/
public function setBodyArticleDiscountPercent(bool $bodyArticleDiscountPercent)
{
$this->bodyArticleDiscountPercent = $bodyArticleDiscountPercent;
return $this;
}
}