mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-31 14:16:57 -04:00
30 lines
645 B
PHP
30 lines
645 B
PHP
<?php
|
|
|
|
namespace Modules\Subscription\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Modules\Product\Entities\Product;
|
|
|
|
class SubscriptionProductMeta extends Model
|
|
{
|
|
protected $table = 'subscription_product_meta';
|
|
protected $guarded = ['id'];
|
|
protected $fillable = [
|
|
'title',
|
|
'price',
|
|
'about',
|
|
'btn_txt',
|
|
'days',
|
|
'status',
|
|
'order',
|
|
'billing_type',
|
|
'is_trial',
|
|
'limit_payment_cycles',
|
|
'product_id'
|
|
];
|
|
|
|
public function product() {
|
|
return $this->belongsTo(Product::class, 'product_id');
|
|
}
|
|
}
|