Files
exchange-2.0/app/Models/LarkPushed.php
2025-09-21 19:21:44 +08:00

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();
}
}