first commit
This commit is contained in:
27
app/Models/SubscriptionBasicService.php
Normal file
27
app/Models/SubscriptionBasicService.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class SubscriptionBasicService extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $fillable = [
|
||||
'subscription_id',
|
||||
'title_english',
|
||||
'title_chinese',
|
||||
];
|
||||
|
||||
public function lists()
|
||||
{
|
||||
return $this->hasMany(SubscriptionBasicServiceList::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user