server/app/Model/Channel.php

35 lines
756 B
PHP

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $channel_id
* @property string $channel_name
* @property string $channel_flag
* @property string $config
* @property int $rank
* @property int $status
* @property string $create_time
* @property string $update_time
* @property string $deleted_at
*/
class Channel extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'channel';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['channel_id' => 'integer', 'rank' => 'integer', 'status' => 'integer'];
}