'datetime:Y-m-d', 'documents' => 'json', 'is_distributor' => 'boolean', 'is_customer' => 'boolean', 'type' => CustomerEnum::class, 'created_at' => 'datetime:Y-m-d', 'updated_at' => 'datetime:Y-m-d', 'deleted_at' => 'datetime:Y-m-d', ]; /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function user() { return $this->belongsTo('App\Models\User'); } }