fuc/src/Models/Draw.php
2025-02-23 13:30:57 +08:00

26 lines
546 B
PHP
Executable File

<?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Query\Builder;
use function time;
final class Draw extends Model
{
protected $connection = 'default';
protected $table = 'draw';
public function add(int $user_id, string $user_mail, float $addAmount): void
{
// $this->user_id = $user_id,
// $this->user_mail = $user_mail,
// $this->addr_type = $addr_type,
// $this->amount = $amount;
// $this->create_at = time();
// $this->save();
// exit;
}
}