<commit_before><?php

namespace common\models;

use Yii;
use DateTime;
/**
 * This is the model class for table "lesson".
 *
 * @property integer $id
 * @property integer $ghd_id
 * @property integer $lesson_type
 * @property integer $teacher_id
 * @property integer $week
 * @property string $day
 * @property string $time
 * @property string $auditory
 */
class Lesson extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    
    public static function tableName()
    {
        return 'lesson';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['ghd_id', 'lesson_type_id', 'week', 'day',  'auditory'], 'required'],
            [['time'] , 'safe'], 
            [['day', 'ghd_id', 'lesson_type_id', 'week'], 'integer'],
            [['auditory'], 'string', 'max' => 50],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'ghd_id' => 'Ghd ID',
            'lesson_type_id' => 'Lesson Type',            
            'week' => 'Неделя',
            'day' => 'День',
            'time' => 'Время',
            'auditory' => 'Аудитория',
            'groupName' => 'Группа',
            'disciplineName' => 'Дисциплина',
            'teacherFullname' => 'Преподаватель',
            'lessonTypeName' => 'Тип занятия'
        ];
    }
    
     /**
     * @get ghd
     */
    public function getGroupHasDiscipline()<commit_msg>nav structure<commit_after><?php

namespace common\models;

use Yii;
use DateTime;
/**
 * This is the model class for table "lesson".
 *
 * @property integer $id
 * @property integer $ghd_id
 * @property integer $lesson_type
 * @property integer $teacher_id
 * @property integer $week
 * @property string $day
 * @property string $time
 * @property string $auditory
 */
class Lesson extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    
    public static function tableName()
    {
        return 'lesson';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['ghd_id', 'lesson_type_id', 'thd_id', 'week', 'day',  'auditory'], 'required'],
            [['time'] , 'safe'], 
            [['day', 'ghd_id', 'lesson_type_id', 'thd_id', 'week'], 'integer'],
            [['auditory'], 'string', 'max' => 50],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'ghd_id' => 'Ghd ID',
            'lesson_type_id' => 'Lesson Type',
            'thd_id' => 'Teacher Has Discipline ID',
            'week' => 'Неделя',
            'day' => 'День',
            'time' => 'Время',
            'auditory' => 'Аудитория',
            'groupName' => 'Группа',
            'disciplineName' => 'Дисциплина',
            'teacherFullname' => 'Преподаватель',
            'lessonTypeName' => 'Тип занятия'
        ];
    }
    
     /**
     * @get ghd
     */
    public function getGroupHasDiscipline()
{'fraction_non_alphanumeric': 0.16137479541734862, 'fraction_numerical': 0.001309328968903437, 'mean_word_length': 1.8830188679245283, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 28, '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': '3066317', 'n_tokens_mistral': 1006, 'n_tokens_neox': 1002, 'n_words': 221}