|SupportReply newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|SupportReply newQuery() * @method static \Illuminate\Database\Eloquent\Builder|SupportReply onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|SupportReply query() * @method static \Illuminate\Database\Eloquent\Builder|SupportReply whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SupportReply whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SupportReply whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|SupportReply whereReply($value) * @method static \Illuminate\Database\Eloquent\Builder|SupportReply whereTicketId($value) * @method static \Illuminate\Database\Eloquent\Builder|SupportReply whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SupportReply whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|SupportReply withTrashed(bool $withTrashed = true) * @method static \Illuminate\Database\Eloquent\Builder|SupportReply withoutTrashed() * @mixin \Eloquent */ class SupportReply extends Model { use HasFactory, SoftDeletes; protected $table = 'support_replies'; protected $guarded = ['id']; protected $casts = [ 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; public function ticket() { return $this->belongsTo(SupportTicket::class, 'ticket_id'); } public function user() { return $this->belongsTo(User::class, 'user_id'); } }