You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
617 B
19 lines
617 B
<?php
|
|
|
|
namespace Modules\Agents\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
class Customer extends Model
|
|
{
|
|
use HasFactory, \Illuminate\Database\Eloquent\SoftDeletes;
|
|
protected $table = 'se_customers';
|
|
protected $fillable = ['id', 'name', 'phone', 'email', 'grade', 'msg', 'agent_id', 'created_at', 'created_by', 'updated_at', 'updated_by', 'deleted_at'];
|
|
protected $dates = ['deleted_at'];
|
|
|
|
// protected static function newFactory()
|
|
// {
|
|
// return \Modules\Agents\Database\factories\CustomerFactory::new();
|
|
// }
|
|
}
|
|
|