<?php

namespace App\Models\Common;

use App\Models\Model;

/**
 * App\Models\Common\MediaModel
 *
 * @property int $id
 * @property int $created_at
 * @property int $updated_at
 * @property string $public_id 公众号id
 * @property string $key key
 * @property string $value 资源id
 * @property string $url 图片地址
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel whereKey($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel wherePublicId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel whereUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\MediaModel whereValue($value)
 * @mixin \Eloquent
 */
class MediaModel extends Model
{
    public $table = 'kdgx_medias';

    public $dateFormat = 'U';
    public $timestamps = false;

    public $fillable = [
        'created_at',
        'updated_at',
        'key',
        'value',
        'url',
        'public_id'
    ];
}
