Added Breeze

This commit is contained in:
amikhaylov
2026-05-18 23:43:26 +03:00
parent 0c06d83b0b
commit c9a514b0fa
17 changed files with 249 additions and 59 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
namespace App\Models\ORM;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ContactRole extends Model
{
use HasFactory;
protected $primaryKey = 'id';
protected $table = 'contact_roles';
}
+4 -4
View File
@@ -9,10 +9,10 @@ class Place extends Model
{
use SoftDeletes;
const CREATED_AT = 'DateOfCreation';
const UPDATED_AT = 'UpdateDate';
const DELETED_AT = 'DeleteDate';
const CREATED_AT = 'created_at';
const UPDATED_AT = 'updated_at';
const DELETED_AT = 'deleted_at';
protected $primaryKey = 'id';
protected $table = 'Place';
protected $table = 'places';
}