first commit
This commit is contained in:
41
Modules/Office/app/Models/GeneratorLogBook.php
Normal file
41
Modules/Office/app/Models/GeneratorLogBook.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Office\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Modules\Office\Database\factories\GeneratorLogBookFactory;
|
||||
|
||||
class GeneratorLogBook extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = "tbl_generator_log_books";
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = [
|
||||
'generator_id',
|
||||
'log_type',
|
||||
'from',
|
||||
'to',
|
||||
'servicing_date',
|
||||
'fee',
|
||||
'by',
|
||||
'diesel_consumed',
|
||||
'mobile_consumed',
|
||||
'status',
|
||||
'description',
|
||||
'remarks',
|
||||
'createdBy',
|
||||
'updatedBy',
|
||||
];
|
||||
|
||||
const LOG_TYPE = [
|
||||
'usage' => 'Usage',
|
||||
'service' => 'Service',
|
||||
'other' => 'Other'
|
||||
];
|
||||
|
||||
}
|
Reference in New Issue
Block a user