src/Entity/CodeTransporteur.php line 9
<?phpnamespace App\Entity;use App\Repository\CodeTransporteurRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: CodeTransporteurRepository::class)]class CodeTransporteur{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 10, nullable: true)]private ?string $code1 = null;#[ORM\Column(length: 10, nullable: true)]private ?string $code2 = null;#[ORM\Column(length: 255, nullable: true)]private ?string $description = null;#[ORM\Column(nullable: true)]private ?int $id_order_state = null;public function getId(): ?int{return $this->id;}public function getCode1(): ?string{return $this->code1;}public function setCode1(?string $code1): static{$this->code1 = $code1;return $this;}public function getCode2(): ?string{return $this->code2;}public function setCode2(?string $code2): static{$this->code2 = $code2;return $this;}public function getDescription(): ?string{return $this->description;}public function setDescription(?string $description): static{$this->description = $description;return $this;}public function getIdOrderState(): ?int{return $this->id_order_state;}public function setIdOrderState(?int $id_order_state): static{$this->id_order_state = $id_order_state;return $this;}}