✏️ 正在编辑: CallcenterCampanhaDto.php
路径:
/srv/systems_dir/yuppiecred-bkp/application/Modules/Callcenter/Dto/CallcenterCampanhaDto.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php namespace Modules\Callcenter\Dto; use Modules\Core\Dto\DtoAbstract; class CallcenterCampanhaDto extends DtoAbstract { /** @var int|null */ protected $id; /** @var string */ protected $nome; /** @var string|null */ protected $codigo; /** @var string|null */ protected $data_inicial; /** @var string|null */ protected $data_final; /** @var string|null */ protected $situacao; /** @var bool */ protected $carteirizar; /** @var bool */ protected $escolher_cliente; /** @var string|null */ protected $descricao; /** @var bool */ protected $excluido; /** @var int|null */ protected $idade_maxima; /** @var int|null */ protected $idade_minima; /** @var string|null */ protected $codigo_entidade; /** @var string|null */ protected $status_discador; /** @var bool|null */ protected $ativo; /** @var string|null */ protected $ultima_higienizacao; /** @var string|null */ protected $qtd_higienizacao; /** @var string|null */ protected $discador_ultima_chamada; /** @var int|null */ protected $clientes; /** @var int|null */ protected $clientes_atendidos; /** @var int|null */ protected $reprocessamentos_realizados; /** * @return string|null */ public function getNome(): ?string { return $this->nome; } /** * @return float */ public function getPercentualAtendidos(): float { return $this->clientes ? (( 100 / $this->clientes ) * $this->clientes_atendidos ) : 0 ; } /** * @return int|null */ public function getReprocessamentosRealizados(): ?int { return $this->reprocessamentos_realizados; } /** * @return string */ public function getNomeId(): string { return '#' . $this->getId() . " - " . $this->getNome(); } /** * @return string[] */ public function excludeFields(): array { return [ 'toSql', 'clientes', 'clientes_atendidos', 'quantidade_reprocessamentos' ]; } }
💾 保存文件
← 返回文件管理器