CounterpartCreateCommand.php 1.2 KB
Newer Older
1 2 3 4
<?php

namespace LQDN\Command;

5
class CounterpartCreateCommand
6 7 8 9 10 11 12 13 14
{
    private $counterpartId;
    private $adresseId;
    private $userId;
    private $quoi;
    private $taille;
    private $status;
    private $date;

15
    public function __construct($addressId, $userId, $quoi, $taille, $status, $date, $commentaire, $parent)
16 17 18 19 20 21 22
    {
        $this->userId = $userId;
        $this->addressId = $addressId;
        $this->quoi = $quoi;
        $this->taille = $taille;
        $this->status = $status;
        $this->date = $date;
23
        $this->commentaire = $commentaire;
24
        $this->parent = $parent;
25 26 27 28 29 30 31 32 33
    }

    public function getUserId()
    {
        return $this->userId;
    }

    public function getAddressId()
    {
34
        return $this->addressId;
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
    }

    public function getQuoi()
    {
        return $this->quoi;
    }

    public function getTaille()
    {
        return $this->taille;
    }

    public function getStatus()
    {
        return $this->status;
    }

    public function getDateCreation()
    {
        return $this->date;
    }
56 57 58 59 60

    public function getCommentaire()
    {
        return $this->commentaire;
    }
61 62 63 64 65

    public function getParent()
    {
        return $this->parent;
    }
66
}