<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Charity
 *
 * @ORM\Table(name="charity")
 * @ORM\Entity(repositoryClass="AppBundle\Repository\CharityRepository")
 */
class Charity
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=255)
     */
    private $name;

    /**
     * @var string
     *
     * @ORM\Column(name="description", type="string", length=255)
     */
    private $description;

    /**
     * @var string
     *
     * @ORM\Column(name="bankAcc", type="string", length=255,nullable=true)
     */
    private $bankAcc;


    /**
     * @var integer
     *
     * @ORM\Column(name="balance", type="integer",nullable=true)
     */
    private $balance;

    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set name
     *
     * @param string $name
     *
     * @return Charity
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * Get name
     *
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set description
     *
     * @param string $description
     *
     * @return Charity
     */
    public function setDescription($description)
    {
        $this->description = $description;

        return $this;
    }

    /**
     * Get description
     *
     * @return string
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * Set bankAcc
     *
     * @param string $bankAcc
     *
     * @return Charity
     */
    public function setBankAcc($bankAcc)
    {
        $this->bankAcc = $bankAcc;

        return $this;
    }

    /**
     * Get bankAcc
     *
     * @return string
     */
    public function getBankAcc()
    {
        return $this->bankAcc;
    }

    /**
     * Set balance
     *
     * @param integer $balance
     *
     * @return Charity
     */
    public function setBalance($balance)
    {
        $this->balance = $balance;

        return $this;
    }

    /**
     * Get balance
     *
     * @return integer
     */
    public function getBalance()
    {
        return $this->balance;
    }
}
