Initial V2 commit
This commit is contained in:
12
app/Models/CarRegistration.php
Normal file
12
app/Models/CarRegistration.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CarRegistration extends Model
|
||||
{
|
||||
protected $connection = 'primary';
|
||||
protected $table = 'CarRegistration';
|
||||
public $timestamps = false;
|
||||
protected $fillable = ['driverID', 'vin', 'car_plate', 'make', 'model', 'year', 'expiration_date', 'color', 'owner', 'color_hex', 'fuel', 'isDefault', 'status', 'vehicle_category_id', 'fuel_type_id'];
|
||||
public const ENCRYPTED_FIELDS = ['car_plate', 'owner'];
|
||||
}
|
||||
Reference in New Issue
Block a user