<?php


namespace common\util;

use common\models\AccidentCasesScore;

class AccidentCasesScoreObj
{
    public int $id;
    public int $accident_id;
    public int $dictionary_id;
    public int $category;
    public ?string $content;
    public ?string $content_two;
    public float $score;
    public array $dimension;

    /**
     * @param AccidentCasesScore $AccidentCasesScore
     */
    public function __construct(AccidentCasesScore $AccidentCasesScore)
    {
        $this->id = $AccidentCasesScore->id;
        $this->accident_id = $AccidentCasesScore->accident_id;
        $this->dictionary_id = $AccidentCasesScore->dictionary_id;
        $this->category = $AccidentCasesScore->category;
        $this->content = $AccidentCasesScore->content;
        $this->content_two = $AccidentCasesScore->content_two;
        $this->score = $AccidentCasesScore->score;
        $this->dimension = $AccidentCasesScore->dimension;
    }
}