'group' => 'adminGroup',
'export' => 'exportImportTable',
'parent_admin_id',
- 'plan_id'
+// 'plan_id'
];
/*if($this->parent_admin_id) {
return $this->hasOne(self::class, ['id' => 'parent_admin_id']);
}
- public function getPlanId()
- {
- return $this->hasOne( Timetable::class, ['admin_id' => 'id'])
- ->andWhere(['date' => date('Y-m-d')])
- ->andWhere(['tabel' => 0]);
- }
+// public function getPlanId()
+// {
+// return $this->hasOne( Timetable::class, ['admin_id' => 'id'])
+// ->andWhere(['date' => date('Y-m-d')])
+// ->andWhere(['tabel' => 0]);
+// }
// Получить последнюю в списке запись о з.п.