<?php

namespace OfficeBrain\Bundle\UserBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;

/**
 * SignUpForm
 *
 * @ORM\Table(name="tbl_sign_up_form")
 * @ORM\Entity(repositoryClass="OfficeBrain\Bundle\UserBundle\Entity\SignUpFormRepository")
 * @Gedmo\SoftDeleteable(fieldName="deletedAt", timeAware=false)
 */

class SignUpForm
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint",length=20, options={"unsigned"=true})
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     * @ORM\Column(name="user_type", type="string", length=100, options={"collate"="utf8_unicode_ci"})
     */
    private $userType;

    /**
     * @var string
     * @ORM\Column(name="fields", type="text", options={"collate"="utf8_unicode_ci"})
     */
    private $fields;

    /**
     * @var string
     * @ORM\Column(name="unique_keys", type="text", options={"collate"="utf8_unicode_ci"})
     */
    private $uniqueKeys;

    /**
     * @var string
     * @ORM\Column(name="validations", type="text", options={"collate"="utf8_unicode_ci"})
     */
    private $validations;

    /**
     * @var string
     * @ORM\Column(name="approval_configuration", type="text", options={"collate"="utf8_unicode_ci"})
     */
    private $approvalConfiguration;

    /**
     * @var string
     * @ORM\Column(name="instance_type", type="string", length=255, options={"collate"="utf8_unicode_ci"})
     */
    private $instanceType;

    /**
     * @var integer
     * @ORM\Column(name="instance_type_id", type="bigint" ,length=20 ,options={"unsigned"=true})
     */
    private $instanceTypeId;


    /**
     * @var datetime
     *
     * @Gedmo\Timestampable(on="create")
     * @ORM\Column(name="created_at",type="datetime")
     */
    protected $createdAt;

    /**
     * @var datetime
     *
     * @Gedmo\Timestampable(on="update")
     * @ORM\Column( name="updated_at", type="datetime",nullable=true)
     */
    protected $updatedAt;


    /**
     * @var datetime
     *
     * @ORM\Column(name="deleted_at",type="datetime",  nullable=true)
     */
    protected $deletedAt;

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

    /**
     * Set userType
     *
     * @param string $userType
     * @return SignUpForm
     */
    public function setUserType($userType)
    {
        $this->userType = $userType;

        return $this;
    }

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

    /**
     * Set fields
     *
     * @param string $fields
     * @return SignUpForm
     */
    public function setFields($fields)
    {
        $this->fields = $fields;

        return $this;
    }

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

    /**
     * Set uniqueKeys
     *
     * @param string $uniqueKeys
     * @return SignUpForm
     */
    public function setUniqueKeys($uniqueKeys)
    {
        $this->uniqueKeys = $uniqueKeys;

        return $this;
    }

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

    /**
     * Set validations
     *
     * @param string $validations
     * @return SignUpForm
     */
    public function setValidations($validations)
    {
        $this->validations = $validations;

        return $this;
    }

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

    /**
     * Set instanceType
     *
     * @param string $instanceType
     * @return SignUpForm
     */
    public function setInstanceType($instanceType)
    {
        $this->instanceType = $instanceType;

        return $this;
    }

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

    /**
     * Set instanceTypeId
     *
     * @param integer $instanceTypeId
     * @return SignUpForm
     */
    public function setInstanceTypeId($instanceTypeId)
    {
        $this->instanceTypeId = $instanceTypeId;

        return $this;
    }

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

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     * @return SignUpForm
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;

        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set updatedAt
     *
     * @param \DateTime $updatedAt
     * @return SignUpForm
     */
    public function setUpdatedAt($updatedAt)
    {
        $this->updatedAt = $updatedAt;

        return $this;
    }

    /**
     * Get updatedAt
     *
     * @return \DateTime
     */
    public function getUpdatedAt()
    {
        return $this->updatedAt;
    }

    /**
     * Set deletedAt
     *
     * @param \DateTime $deletedAt
     * @return SignUpForm
     */
    public function setDeletedAt($deletedAt)
    {
        $this->deletedAt = $deletedAt;

        return $this;
    }

    /**
     * Get deletedAt
     *
     * @return \DateTime
     */
    public function getDeletedAt()
    {
        return $this->deletedAt;
    }

    /**
     * Set approvalConfiguration
     *
     * @param string $approvalConfiguration
     * @return SignUpForm
     */
    public function setApprovalConfiguration($approvalConfiguration)
    {
        $this->approvalConfiguration = $approvalConfiguration;

        return $this;
    }

    /**
     * Get approvalConfiguration
     *
     * @return string
     */

    public function getApprovalConfiguration()
    {
        return $this->approvalConfiguration;
    }
}
