mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 20:43:56 +00:00
33 lines
564 B
PHP
33 lines
564 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class LarkPushed extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'lark_pushed';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array<int, string>
|
|
*/
|
|
protected $fillable = [
|
|
'owner_id',
|
|
'owner_type',
|
|
'is_success',
|
|
];
|
|
|
|
/**
|
|
* Get the owning model (polymorphic relation).
|
|
*/
|
|
public function owner()
|
|
{
|
|
return $this->morphTo();
|
|
}
|
|
}
|