首次提交 Laravel 專案

This commit is contained in:
2025-05-18 08:52:56 +07:00
commit 5e392ae581
264 changed files with 88756 additions and 0 deletions
@@ -0,0 +1 @@
*.sqlite*
@@ -0,0 +1,36 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class tg_bot extends Model
{
// 显式指定表名
protected $table = 'tg_bot';
// 主键字段
protected $primaryKey = 'id';
// 主键是否自增
public $incrementing = true;
// 主键类型(整数)
protected $keyType = 'int';
// 是否自动维护 created_at 和 updated_at
public $timestamps = true;
// 可批量赋值的字段
protected $fillable = [
'bot_id',
'bot_token',
'bot_username',
'subjection_username',
'subjection_mobile',
'subjection',
'webhook',
'memo',
];
}