İlk temizlik tamamlandı bir önceki projeden

This commit is contained in:
Ümit Tunç
2026-04-28 21:14:25 +03:00
commit f80443aec0
10000 changed files with 959965 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Annotation extends Model
{
use HasFactory;
protected $fillable = [
'shape_id',
'spool_no',
'joint_type',
'type_of_welds',
'classification',
'page_number',
'x_coordinate',
'y_coordinate',
'width',
'height',
'shape_type',
'qr_code_data',
'pdf_file_path',
'created_by',
'original_start_point',
'connected_shape_id',
'version',
'is_active',
'parent_id',
'updated_by',
'welder_id',
'stroke_color',
'stroke_width'
];
protected $casts = [
'x_coordinate' => 'decimal:2',
'y_coordinate' => 'decimal:2',
'width' => 'decimal:2',
'height' => 'decimal:2',
];
public function updatedUser()
{
return $this->belongsTo(User::class, 'updated_by');
}
}