init project
This commit is contained in:
22
app/Models/Commune.php
Normal file
22
app/Models/Commune.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
use App\Models\Traits\HasLocalizedName;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Commune extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
use HasFactory;
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
|
||||
use HasLocalizedName;
|
||||
|
||||
protected $appends = ['name'];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user