[WIP] Corporate Plan

This commit is contained in:
2022-07-08 02:33:21 +07:00
parent 574004d408
commit b5f892641d
17 changed files with 1064 additions and 285 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class CorporatePlan extends Model
{
use HasFactory;
protected $fillable = [
'corporate_id',
'code',
'name',
];
public function corporate()
{
return $this->belongsTo(Corporate::class);
}
}