UserUpdateByAdminCommand.php 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<?php

namespace LQDN\Command;

class UserUpdateByAdminCommand
{
    private $id;
    private $username;
    private $email;
    private $comment;
11 12
    private $cumul;
    private $total;
13 14 15 16 17 18 19 20

    /**
     * __construct
     *
     * @param int $id
     * @param string $username
     * @param string $email
     * @param string $comment
21 22
     * @param string $cumul
     * @param string $total
23
     */
24
    public function __construct($id, $username, $email, $comment, $total, $cumul)
25 26 27 28 29
    {
        $this->id = $id;
        $this->username = $username;
        $this->email = $email;
        $this->comment = $comment;
30 31
        $this->total = $total;
        $this->cumul = $cumul;
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
    }

    public function getId()
    {
        return $this->id;
    }

    public function getUsername()
    {
        return $this->username;
    }

    public function getEmail()
    {
        return $this->email;
    }

    public function getComment()
    {
        return $this->comment;
    }
53 54 55 56 57 58 59 60 61 62

    public function getTotal()
    {
        return $this->total;
    }

    public function getCumul()
    {
        return $this->cumul;
    }
63
}