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.

26 lines
463 B

2 days ago
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class WechatUserHomeVisit extends Model
{
public $timestamps = false;
protected $fillable = [
'wechat_user_id',
'visited_at',
];
protected $casts = [
'visited_at' => 'datetime',
];
public function wechatUser(): BelongsTo
{
return $this->belongsTo(WechatUser::class);
}
}