PageRenderTime 26ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/fontes/module/Application/src/Application/Entity/AesbePropostaDadosEntity.php

https://gitlab.com/sejainfo/aesbe
PHP | 662 lines | 260 code | 79 blank | 323 comment | 0 complexity | ec3b1dbff5a1a150203ce3ad9786d094 MD5 | raw file
  1. <?php
  2. namespace Application\Entity;
  3. use Commons\Pattern\Entity\Impl\AbstractEntity;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * AesbePropostaDadosEntity
  7. *
  8. * @ORM\Table(name="tb_aesbe_proposta_dados", indexes={@ORM\Index(name="fk_tb_aesbe_proposta_dados_tb_aesbe_proposta1_idx", columns={"co_proposta"}), @ORM\Index(name="fk_tb_aesbe_proposta_dados_tb_aesbe_modalidade_licitacao1_idx", columns={"co_modalidade"}), @ORM\Index(name="fk_tb_aesbe_proposta_dados_tb_aesbe_material1_idx", columns={"co_material"})})
  9. * @ORM\Entity(repositoryClass="Application\Entity\AesbePropostaDadosRepository")
  10. */
  11. class AesbePropostaDadosEntity extends AbstractEntity
  12. {
  13. /**
  14. * constante tipo de proposta
  15. */
  16. const ST_PROPOSTA_ORIGINAL = 'ORIGINAL';
  17. const ST_PROPOSTA_NOVA = 'NOVA';
  18. /**
  19. * constante FOB/CIF
  20. */
  21. const ST_FOB = 'FOB';
  22. const ST_CIF = 'CIF';
  23. /**
  24. * constante nível de atendimento
  25. */
  26. const ST_NVL_ATENDIMENTO_VERDE = 'VERDE';
  27. const ST_NVL_ATENDIMENTO_AMARELO = 'AMARELO';
  28. const ST_NVL_ATENDIMENTO_VERMELHO = 'VERMELHO';
  29. /**
  30. * constante especificação padrão
  31. */
  32. const ST_ESP_PADRAO_SIM = 'S';
  33. const ST_ESP_PADRAO_NAO = 'N';
  34. /**
  35. * constante tipo de inspeção
  36. */
  37. const TP_INSPECAO_FABRICA = 'FABRICA';
  38. const TP_INSPECAO_RECEBIMENTO = 'RECEBIMENTO';
  39. const ST_FORNECIMENTO_PARCELADO = 'PARCELADO';
  40. const ST_FORNECIMENTO_UNICA = 'UNICA';
  41. /**
  42. * @var integer
  43. *
  44. * @ORM\Column(name="co_proposta_dados", type="integer", nullable=false)
  45. * @ORM\Id
  46. * @ORM\GeneratedValue(strategy="IDENTITY")
  47. */
  48. private $coPropostaDados;
  49. /**
  50. * @var \DateTime
  51. *
  52. * @ORM\Column(name="dt_informacao", type="date", nullable=false)
  53. */
  54. private $dtInformacao;
  55. /**
  56. * @var float
  57. *
  58. * @ORM\Column(name="vl_icms", type="float", precision=10, scale=0, nullable=false)
  59. */
  60. private $vlIcms;
  61. /**
  62. * @var float
  63. *
  64. * @ORM\Column(name="vl_ipi", type="float", precision=10, scale=0, nullable=false)
  65. */
  66. private $vlIpi;
  67. /**
  68. * @var string
  69. *
  70. * @ORM\Column(name="st_fob_cif", type="string", length=10, nullable=false)
  71. */
  72. private $stFobCif;
  73. /**
  74. * @var string
  75. *
  76. * @ORM\Column(name="st_condicao_fornecimento", type="string", length=45, nullable=false)
  77. */
  78. private $stCondicaoFornecimento;
  79. /**
  80. * @var \DateTime
  81. *
  82. * @ORM\Column(name="dt_proposta", type="date", nullable=false)
  83. */
  84. private $dtProposta;
  85. /**
  86. * @var \DateTime
  87. *
  88. * @ORM\Column(name="dt_contratacao", type="date", nullable=false)
  89. */
  90. private $dtContratacao;
  91. /**
  92. * @var integer
  93. *
  94. * @ORM\Column(name="qt_produto", type="integer", nullable=false)
  95. */
  96. private $qtProduto;
  97. /**
  98. * @var \DateTime
  99. *
  100. * @ORM\Column(name="dt_vigencia_contrato", type="date", nullable=false)
  101. */
  102. private $dtVigenciaContrato;
  103. /**
  104. * @var string
  105. *
  106. * @ORM\Column(name="st_proposta", type="string", length=45, nullable=false)
  107. */
  108. private $stProposta;
  109. /**
  110. * @var float
  111. *
  112. * @ORM\Column(name="vl_com_imposto", type="float", precision=10, scale=0, nullable=false)
  113. */
  114. private $vlComImposto;
  115. /**
  116. * @var integer
  117. *
  118. * @ORM\Column(name="nu_contrato", type="integer", nullable=true)
  119. */
  120. private $nuContrato;
  121. /**
  122. * @var float
  123. *
  124. * @ORM\Column(name="vl_iss", type="float", precision=10, scale=0, nullable=true)
  125. */
  126. private $vlIss;
  127. /**
  128. * @var string
  129. *
  130. * @ORM\Column(name="ds_observacao", type="string", length=100, nullable=true)
  131. */
  132. private $dsObservacao;
  133. /**
  134. * @var integer
  135. *
  136. * @ORM\Column(name="nu_ata", type="integer", nullable=true)
  137. */
  138. private $nuAta;
  139. /**
  140. * @var integer
  141. *
  142. * @ORM\Column(name="qt_dias_pagamento", type="integer", nullable=true)
  143. */
  144. private $qtDiasPagamento;
  145. /**
  146. * @var string
  147. *
  148. * @ORM\Column(name="tp_inspecao", type="string", length=45, nullable=true)
  149. */
  150. private $tpInspecao;
  151. /**
  152. * @var string
  153. *
  154. * @ORM\Column(name="st_nivel_atendimento", type="string", length=45, nullable=true)
  155. */
  156. private $stNivelAtendimento;
  157. /**
  158. * @var boolean
  159. *
  160. * @ORM\Column(name="st_especificacao_padrao", type="string", length=1, nullable=false)
  161. */
  162. private $stEspecificacaoPadrao;
  163. /**
  164. * @var \Application\Entity\AesbeMaterialEntity
  165. *
  166. * @ORM\ManyToOne(targetEntity="Application\Entity\AesbeMaterialEntity")
  167. * @ORM\JoinColumns({
  168. * @ORM\JoinColumn(name="co_material", referencedColumnName="co_material")
  169. * })
  170. */
  171. private $materialEntity;
  172. /**
  173. * @var \Application\Entity\AesbeModalidadeLicitacaoEntity
  174. *
  175. * @ORM\ManyToOne(targetEntity="Application\Entity\AesbeModalidadeLicitacaoEntity")
  176. * @ORM\JoinColumns({
  177. * @ORM\JoinColumn(name="co_modalidade", referencedColumnName="co_modalidade")
  178. * })
  179. */
  180. private $modalidadeLicitacaoEntity;
  181. /**
  182. * @var \Application\Entity\AesbePropostaEntity
  183. *
  184. * @ORM\ManyToOne(targetEntity="Application\Entity\AesbePropostaEntity")
  185. * @ORM\JoinColumns({
  186. * @ORM\JoinColumn(name="co_proposta", referencedColumnName="co_proposta")
  187. * })
  188. */
  189. private $propostaEntity;
  190. /**
  191. * @var \Application\Entity\AesbeFornecedorEntity
  192. *
  193. * @ORM\ManyToOne(targetEntity="Application\Entity\AesbeFornecedorEntity")
  194. * @ORM\JoinColumns({
  195. * @ORM\JoinColumn(name="co_fornecedor", referencedColumnName="co_fornecedor")
  196. * })
  197. */
  198. private $fornecedorEntity;
  199. /**
  200. * @return int
  201. */
  202. public function getCoPropostaDados()
  203. {
  204. return $this->coPropostaDados;
  205. }
  206. /**
  207. * @param int $coPropostaDados
  208. * @return AesbePropostaDadosEntity
  209. */
  210. public function setCoPropostaDados($coPropostaDados)
  211. {
  212. $this->coPropostaDados = $coPropostaDados;
  213. return $this;
  214. }
  215. /**
  216. * @return \DateTime
  217. */
  218. public function getDtInformacao()
  219. {
  220. return $this->dtInformacao;
  221. }
  222. /**
  223. * @param \DateTime $dtInformacao
  224. * @return AesbePropostaDadosEntity
  225. */
  226. public function setDtInformacao($dtInformacao)
  227. {
  228. $this->dtInformacao = $dtInformacao;
  229. return $this;
  230. }
  231. /**
  232. * @return float
  233. */
  234. public function getVlIcms()
  235. {
  236. return $this->vlIcms;
  237. }
  238. /**
  239. * @param float $vlIcms
  240. * @return AesbePropostaDadosEntity
  241. */
  242. public function setVlIcms($vlIcms)
  243. {
  244. $this->vlIcms = $vlIcms;
  245. return $this;
  246. }
  247. /**
  248. * @return string
  249. */
  250. public function getStFobCif()
  251. {
  252. return $this->stFobCif;
  253. }
  254. /**
  255. * @param string $stFobCif
  256. * @return AesbePropostaDadosEntity
  257. */
  258. public function setStFobCif($stFobCif)
  259. {
  260. $this->stFobCif = $stFobCif;
  261. return $this;
  262. }
  263. /**
  264. * @return string
  265. */
  266. public function getStCondicaoFornecimento()
  267. {
  268. return $this->stCondicaoFornecimento;
  269. }
  270. /**
  271. * @param string $stCondicaoFornecimento
  272. * @return AesbePropostaDadosEntity
  273. */
  274. public function setStCondicaoFornecimento($stCondicaoFornecimento)
  275. {
  276. $this->stCondicaoFornecimento = $stCondicaoFornecimento;
  277. return $this;
  278. }
  279. /**
  280. * @return \DateTime
  281. */
  282. public function getDtContratacao()
  283. {
  284. return $this->dtContratacao;
  285. }
  286. /**
  287. * @param \DateTime $dtContratacao
  288. * @return AesbePropostaDadosEntity
  289. */
  290. public function setDtContratacao($dtContratacao)
  291. {
  292. $this->dtContratacao = $dtContratacao;
  293. return $this;
  294. }
  295. /**
  296. * @return int
  297. */
  298. public function getQtProduto()
  299. {
  300. return $this->qtProduto;
  301. }
  302. /**
  303. * @param int $qtProduto
  304. * @return AesbePropostaDadosEntity
  305. */
  306. public function setQtProduto($qtProduto)
  307. {
  308. $this->qtProduto = $qtProduto;
  309. return $this;
  310. }
  311. /**
  312. * @return string
  313. */
  314. public function getStProposta()
  315. {
  316. return $this->stProposta;
  317. }
  318. /**
  319. * @param string $stProposta
  320. * @return AesbePropostaDadosEntity
  321. */
  322. public function setStProposta($stProposta)
  323. {
  324. $this->stProposta = $stProposta;
  325. return $this;
  326. }
  327. /**
  328. * @return float
  329. */
  330. public function getVlComImposto()
  331. {
  332. return $this->vlComImposto;
  333. }
  334. /**
  335. * @param float $vlComImposto
  336. * @return AesbePropostaDadosEntity
  337. */
  338. public function setVlComImposto($vlComImposto)
  339. {
  340. $this->vlComImposto = $vlComImposto;
  341. return $this;
  342. }
  343. /**
  344. * @return int
  345. */
  346. public function getNuContrato()
  347. {
  348. return $this->nuContrato;
  349. }
  350. /**
  351. * @param int $nuContrato
  352. * @return AesbePropostaDadosEntity
  353. */
  354. public function setNuContrato($nuContrato)
  355. {
  356. $this->nuContrato = $nuContrato;
  357. return $this;
  358. }
  359. /**
  360. * @return float
  361. */
  362. public function getVlIss()
  363. {
  364. return $this->vlIss;
  365. }
  366. /**
  367. * @param float $vlIss
  368. * @return AesbePropostaDadosEntity
  369. */
  370. public function setVlIss($vlIss)
  371. {
  372. $this->vlIss = $vlIss;
  373. return $this;
  374. }
  375. /**
  376. * @return string
  377. */
  378. public function getDsObservacao()
  379. {
  380. return $this->dsObservacao;
  381. }
  382. /**
  383. * @param string $dsObservacao
  384. * @return AesbePropostaDadosEntity
  385. */
  386. public function setDsObservacao($dsObservacao)
  387. {
  388. $this->dsObservacao = $dsObservacao;
  389. return $this;
  390. }
  391. /**
  392. * @return int
  393. */
  394. public function getNuAta()
  395. {
  396. return $this->nuAta;
  397. }
  398. /**
  399. * @param int $nuAta
  400. * @return AesbePropostaDadosEntity
  401. */
  402. public function setNuAta($nuAta)
  403. {
  404. $this->nuAta = $nuAta;
  405. return $this;
  406. }
  407. /**
  408. * @return int
  409. */
  410. public function getQtDiasPagamento()
  411. {
  412. return $this->qtDiasPagamento;
  413. }
  414. /**
  415. * @param int $qtDiasPagamento
  416. * @return AesbePropostaDadosEntity
  417. */
  418. public function setQtDiasPagamento($qtDiasPagamento)
  419. {
  420. $this->qtDiasPagamento = $qtDiasPagamento;
  421. return $this;
  422. }
  423. /**
  424. * @return string
  425. */
  426. public function getTpInspecao()
  427. {
  428. return $this->tpInspecao;
  429. }
  430. /**
  431. * @param string $tpInspecao
  432. * @return AesbePropostaDadosEntity
  433. */
  434. public function setTpInspecao($tpInspecao)
  435. {
  436. $this->tpInspecao = $tpInspecao;
  437. return $this;
  438. }
  439. /**
  440. * @return string
  441. */
  442. public function getStNivelAtendimento()
  443. {
  444. return $this->stNivelAtendimento;
  445. }
  446. /**
  447. * @param string $stNivelAtendimento
  448. * @return AesbePropostaDadosEntity
  449. */
  450. public function setStNivelAtendimento($stNivelAtendimento)
  451. {
  452. $this->stNivelAtendimento = $stNivelAtendimento;
  453. return $this;
  454. }
  455. /**
  456. * @return \Application\
  457. */
  458. public function getMaterialEntity()
  459. {
  460. return $this->materialEntity;
  461. }
  462. /**
  463. * @param \Application\ $materialEntity
  464. * @return AesbePropostaDadosEntity
  465. */
  466. public function setMaterialEntity($materialEntity)
  467. {
  468. $this->materialEntity = $materialEntity;
  469. return $this;
  470. }
  471. /**
  472. * @return \Application\
  473. */
  474. public function getModalidadeLicitacaoEntity()
  475. {
  476. return $this->modalidadeLicitacaoEntity;
  477. }
  478. /**
  479. * @param \Application\ $modalidadeLicitacaoEntity
  480. * @return AesbePropostaDadosEntity
  481. */
  482. public function setModalidadeLicitacaoEntity($modalidadeLicitacaoEntity)
  483. {
  484. $this->modalidadeLicitacaoEntity = $modalidadeLicitacaoEntity;
  485. return $this;
  486. }
  487. /**
  488. * @return \Application\
  489. */
  490. public function getPropostaEntity()
  491. {
  492. return $this->propostaEntity;
  493. }
  494. /**
  495. * @param \Application\ $propostaEntity
  496. * @return AesbePropostaDadosEntity
  497. */
  498. public function setPropostaEntity($propostaEntity)
  499. {
  500. $this->propostaEntity = $propostaEntity;
  501. return $this;
  502. }
  503. /**
  504. * @return float
  505. */
  506. public function getVlIpi()
  507. {
  508. return $this->vlIpi;
  509. }
  510. /**
  511. * @param float $vlIpi
  512. * @return AesbePropostaDadosEntity
  513. */
  514. public function setVlIpi($vlIpi)
  515. {
  516. $this->vlIpi = $vlIpi;
  517. return $this;
  518. }
  519. /**
  520. * @return \DateTime
  521. */
  522. public function getDtProposta()
  523. {
  524. return $this->dtProposta;
  525. }
  526. /**
  527. * @param \DateTime $dtProposta
  528. * @return AesbePropostaDadosEntity
  529. */
  530. public function setDtProposta($dtProposta)
  531. {
  532. $this->dtProposta = $dtProposta;
  533. return $this;
  534. }
  535. /**
  536. * @return \DateTime
  537. */
  538. public function getDtVigenciaContrato()
  539. {
  540. return $this->dtVigenciaContrato;
  541. }
  542. /**
  543. * @param \DateTime $dtVigenciaContrato
  544. * @return AesbePropostaDadosEntity
  545. */
  546. public function setDtVigenciaContrato($dtVigenciaContrato)
  547. {
  548. $this->dtVigenciaContrato = $dtVigenciaContrato;
  549. return $this;
  550. }
  551. /**
  552. * @return boolean
  553. */
  554. public function getStEspecificacaoPadrao()
  555. {
  556. return $this->stEspecificacaoPadrao;
  557. }
  558. /**
  559. * @param boolean $stEspecificacaoPadrao
  560. * @return AesbePropostaDadosEntity
  561. */
  562. public function setStEspecificacaoPadrao($stEspecificacaoPadrao)
  563. {
  564. $this->stEspecificacaoPadrao = $stEspecificacaoPadrao;
  565. return $this;
  566. }
  567. /**
  568. * @return AesbeFornecedorEntity
  569. */
  570. public function getFornecedorEntity()
  571. {
  572. return $this->fornecedorEntity;
  573. }
  574. /**
  575. * @param AesbeFornecedorEntity $fornecedorEntity
  576. * @return AesbePropostaDadosEntity
  577. */
  578. public function setFornecedorEntity($fornecedorEntity)
  579. {
  580. $this->fornecedorEntity = $fornecedorEntity;
  581. return $this;
  582. }
  583. }