29 lines
456 B
PHP
29 lines
456 B
PHP
|
<?php
|
||
|
|
||
|
namespace app\model;
|
||
|
|
||
|
use support\Model;
|
||
|
|
||
|
class Timetable extends Model
|
||
|
{
|
||
|
/**
|
||
|
* The table associated with the model.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $table = 'timetable';
|
||
|
|
||
|
/**
|
||
|
* The primary key associated with the table.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $primaryKey = 'id';
|
||
|
|
||
|
/**
|
||
|
* Indicates if the model should be timestamped.
|
||
|
*
|
||
|
* @var bool
|
||
|
*/
|
||
|
public $timestamps = true;
|
||
|
}
|