Update source into github
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ModuleDomain extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'module_domain';
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'order_id',
|
||||
'first_payment',
|
||||
'module_dns_id',
|
||||
'next_payment',
|
||||
'next_due_date',
|
||||
'next_invoice_date',
|
||||
'customer_id',
|
||||
'domain_type_id',
|
||||
'status'
|
||||
];
|
||||
|
||||
public function customer()
|
||||
{
|
||||
return $this->belongsTo(\App\Models\Customer::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user