<commit_before><?php

namespace app\module\handbook\models;
use app\module\handbook\models\TeachersOtherCathedra;

use Yii;

/**
 * This is the model class for table "teachers".
 *
 * @property integer $teacher_id
 * @property string $teacher_name
 * @property integer $id_position
 * @property integer $id_academic_status
 * @property integer $id_cathedra
 *
 * @property Cathedra $idCathedra
 * @property TeachersAcademicStatus $idAcademicStatus
 * @property TeachersPosition $idPosition
 */
class Teachers extends \yii\db\ActiveRecord
{
    public $teacher_other_cathedra;
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'teachers';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['teacher_name', 'id_position', 'id_academic_status', 'id_cathedra'], 'required'],
            [['id_position', 'id_academic_status', 'id_cathedra'], 'integer'],
            [['teacher_name'], 'string', 'max' => 150],
            [['teacher_other_cathedra'], 'safe']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'teacher_id' => 'ID викладача',
            'teacher_name' => 'П.І.Б.',
            'id_position' => 'Посада',
            'id_academic_status' => 'Вчене звання',
            'id_cathedra' => 'Кафедра',<commit_msg>в.0.6.9.1<commit_after><?php

namespace app\module\handbook\models;
use app\module\handbook\models\TeachersOtherCathedra;

use Yii;

/**
 * This is the model class for table "teachers".
 *
 * @property integer $teacher_id
 * @property string $teacher_name
 * @property integer $id_position
 * @property integer $id_academic_status
 * @property integer $id_cathedra
 *
 * @property Cathedra $idCathedra
 * @property TeachersAcademicStatus $idAcademicStatus
 * @property TeachersPosition $idPosition
 */
class Teachers extends \yii\db\ActiveRecord
{
    public $teacher_other_cathedra;
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'teachers';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['teacher_name', 'id_position', 'id_academic_status', 'id_cathedra'], 'required'],
            [['id_position', 'id_academic_status', 'id_cathedra'], 'integer'],
            [['teacher_name'], 'string', 'max' => 150],
            [['teacher_other_cathedra'], 'safe']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'teacher_id' => 'ID викладача',
            'teacher_name' => 'П.І.Б.',
            'id_position' => 'Посада',
            'id_academic_status' => 'Науковий ступінь',
            'id_cathedra' => 'Кафедра',
{'fraction_non_alphanumeric': 0.13896848137535817, 'fraction_numerical': 0.0035816618911174787, 'mean_word_length': 2.631989596879064, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '1767990', 'n_tokens_mistral': 923, 'n_tokens_neox': 918, 'n_words': 177}