41 lines
1.3 KiB
PHP
41 lines
1.3 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class CMSAuthor
|
|
*
|
|
* @property int $id
|
|
* @property string $name
|
|
* @property Carbon $created_at
|
|
* @property Carbon $updated_at
|
|
* @package App\Models
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CMSAuthor newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CMSAuthor newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CMSAuthor query()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CMSAuthor whereCreatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CMSAuthor whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CMSAuthor whereName($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CMSAuthor whereUpdatedAt($value)
|
|
* @property string|null $description
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\CMSAuthor whereDescription($value)
|
|
* @mixin \Eloquent
|
|
*/
|
|
class CMSAuthor extends Model
|
|
{
|
|
protected $connection = 'mysql_stern';
|
|
|
|
protected $table = 'c_m_s_authors';
|
|
|
|
protected $fillable = [
|
|
'name',
|
|
'description',
|
|
];
|
|
}
|