<commit_before><?php

namespace Application\Bundle\FrontBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Application\Bundle\FrontBundle\Entity\PrintTypes as PrintTypes;
use Application\Bundle\FrontBundle\Entity\ReelCore as ReelCore;
use Application\Bundle\FrontBundle\Entity\Colors as Colors;
use Application\Bundle\FrontBundle\Entity\Sounds as Sounds;

use Application\Bundle\FrontBundle\Entity\AcidDetectionStrips as AcidDetectionStrips;

/**
 * FilmRecords
 *
 * @ORM\Table(name="film_records")
 * @ORM\Entity
 */
class FilmRecords
{

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\PrintTypes
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\PrintTypes")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="print_type_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $printType = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\ReelCore
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\ReelCore")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="reel_core_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $reelCore = null;

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

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

    /**
     * @var \Application\Bundle\FrontBundle\Entity\Bases
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\Bases")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="base_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $bases = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\Colors
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\Colors")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="color_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $colors = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\Sounds
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\Sounds")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="sound_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $sound = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\FrameRates
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\FrameRates")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="frame_rate_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $frameRate = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\AcidDetectionStrips
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\AcidDetectionStrips")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="acid_detection_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $acidDetectionStrip = null;

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

    /**
     * @var \Application\Bundle\FrontBundle\Entity\Records
     *
     * @ORM\OneToOne(targetEntity="Application\Bundle\FrontBundle\Entity\Records", cascade={"all","merge","persist","refresh","remove"}, inversedBy="filmRecord")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="record_id", referencedColumnName="id", nullable=false, onDelete="CASCADE")
     * })
     */
    private $record;

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

    /**
     * Set print type.
     *
     * @param \Application\Bundle\FrontBundle\Entity\PrintTypes $pt
     *
     * @return \Application\Bundle\FrontBundle\Entity\FilmRecords
     */
    public function setPrintType(PrintTypes $pt)
    {
        $this->printType = $pt;

        return $this;
    }

    /**
     * Get print type.
     *
     * @return \Application\Bundle\FrontBundle\Entity\PrintTypes
     */
    public function getPrintType()
    {
        return $this->printType;
    }

    /**
     * Set reel core
     *
     * @param \Application\Bundle\FrontBundle\Entity\ReelCore $reelcore
     *
     * @return \Application\Bundle\FrontBundle\Entity\FilmRecords
     */
    public function setReelCore(ReelCore $reelcore)
    {
        $this->reelCore = $reelcore;

        return $this;
    }

    /**
     * Get reel core.
     *
     * @return \Application\Bundle\FrontBundle\Entity\ReelCore
     */
    public function getReelCore()
    {
        return $this->reelCore;
    }

    /**
     * Set footage.
     *
     * @param string $footage
     *
     * @return \Application\Bundle\FrontBundle\Entity\FilmRecords
     */
    public function setFootage($footage)
    {
        $this->footage = $footage;

        return $this;<commit_msg>required fields on add page<commit_after><?php

namespace Application\Bundle\FrontBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Application\Bundle\FrontBundle\Entity\PrintTypes as PrintTypes;
use Application\Bundle\FrontBundle\Entity\ReelCore as ReelCore;
use Application\Bundle\FrontBundle\Entity\Colors as Colors;
use Application\Bundle\FrontBundle\Entity\Sounds as Sounds;

use Application\Bundle\FrontBundle\Entity\AcidDetectionStrips as AcidDetectionStrips;

/**
 * FilmRecords
 *
 * @ORM\Table(name="film_records")
 * @ORM\Entity
 */
class FilmRecords
{

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\PrintTypes
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\PrintTypes")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="print_type_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $printType = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\ReelCore
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\ReelCore")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="reel_core_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $reelCore = null;

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

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

    /**
     * @var \Application\Bundle\FrontBundle\Entity\Bases
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\Bases")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="base_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $bases = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\Colors
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\Colors")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="color_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $colors = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\Sounds
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\Sounds")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="sound_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $sound = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\FrameRates
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\FrameRates")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="frame_rate_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $frameRate = null;

    /**
     * @var \Application\Bundle\FrontBundle\Entity\AcidDetectionStrips
     *
     * @ORM\ManyToOne(targetEntity="Application\Bundle\FrontBundle\Entity\AcidDetectionStrips")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="acid_detection_id", referencedColumnName="id", nullable=true)
     * })
     */
    private $acidDetectionStrip = null;

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

    /**
     * @var \Application\Bundle\FrontBundle\Entity\Records
     *
     * @ORM\OneToOne(targetEntity="Application\Bundle\FrontBundle\Entity\Records", cascade={"all","merge","persist","refresh","remove"}, inversedBy="filmRecord")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="record_id", referencedColumnName="id", nullable=false, onDelete="CASCADE")
     * })
     */
    private $record;

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

    /**
     * Set print type.
     *
     * @param \Application\Bundle\FrontBundle\Entity\PrintTypes $pt
     *
     * @return \Application\Bundle\FrontBundle\Entity\FilmRecords
     */
    public function setPrintType(PrintTypes $pt = null)
    {
        $this->printType = $pt;

        return $this;
    }

    /**
     * Get print type.
     *
     * @return \Application\Bundle\FrontBundle\Entity\PrintTypes
     */
    public function getPrintType()
    {
        return $this->printType;
    }

    /**
     * Set reel core
     *
     * @param \Application\Bundle\FrontBundle\Entity\ReelCore $reelcore
     *
     * @return \Application\Bundle\FrontBundle\Entity\FilmRecords
     */
    public function setReelCore(ReelCore $reelcore = null)
    {
        $this->reelCore = $reelcore;

        return $this;
    }

    /**
     * Get reel core.
     *
     * @return \Application\Bundle\FrontBundle\Entity\ReelCore
     */
    public function getReelCore()
    {
        return $this->reelCore;
    }

    /**
     * Set footage.
     *
     * @param string $footage
     *
     * @return \Application\Bundle\FrontBundle\Entity\FilmRecords
     */
    public function setFootage($footage)
    {
        $this->footage = $footage;

        return $this;
{'fraction_non_alphanumeric': 0.14505283381364073, 'fraction_numerical': 0.0, 'mean_word_length': 2.6697215368346847, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2649736', 'n_tokens_mistral': 3361, 'n_tokens_neox': 3271, 'n_words': 441}