Session: Total cost: $5.44 (costs may be inaccurate due to usage of unknown models) Total duration (API): 50m 49s Total duration (wall): 1h 10m 53s Total code changes: 2972 lines added, 29 lines removed Usage by model: qwen/qwen3.6-35b-a3b: 287.3k input, 69.6k output, 11.5m cache read, 0 cache write ($5.37) claude-haiku-4-5: 9.4k input, 13.3k output, 8.3k cache read, 0 cache write ($0.0767) Runtime: llamacpp Model: Qwen 3.6 35B A3B Q4 K M Coding Agent: ClaudeCode
28 lines
528 B
PHP
28 lines
528 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
class Organization extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = ['user_id', 'name'];
|
|
|
|
protected function casts(): array
|
|
{
|
|
return [
|
|
'id' => 'integer',
|
|
'user_id' => 'integer',
|
|
];
|
|
}
|
|
|
|
public function user(): BelongsTo
|
|
{
|
|
return $this->belongsTo(User::class);
|
|
}
|
|
}
|