migrate to gtea from bistbucket
This commit is contained in:
33
public/restaurant/Modules/HRM/app/Models/EmployeeSalary.php
Normal file
33
public/restaurant/Modules/HRM/app/Models/EmployeeSalary.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\HRM\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class EmployeeSalary extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'restaurant_id',
|
||||
'employee_id',
|
||||
'salary_month',
|
||||
'basic_salary',
|
||||
'allowances',
|
||||
'deductions',
|
||||
'overtime_hours',
|
||||
'overtime_rate',
|
||||
'bonus',
|
||||
'net_salary',
|
||||
'payment_date',
|
||||
'remarks',
|
||||
'status',
|
||||
'salary_breakdown',
|
||||
];
|
||||
|
||||
public const TABLE_NAME = 'employee_salaries';
|
||||
|
||||
protected $table = self::TABLE_NAME;
|
||||
|
||||
protected $casts = [
|
||||
'salary_breakdown' => 'array',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user