<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class TgBot extends Model
{
    // 显式指定表名
    protected $table = 'tg_bot';
    protected $guarded = ['id'];

    // 可批量赋值的字段
    protected $fillable = [
        'bot_id',
        'bot_token',
        'bot_username',
        'subjection_username',
        'subjection_mobile',
        'subjection',
        'webhook',
        'memo',
    ];

}
