UserShare

This commit is contained in:
2024-12-01 14:43:14 +08:00
parent 912d8a299b
commit 85afcd0f95
3 changed files with 105 additions and 72 deletions

View File

@ -25,4 +25,9 @@ class TicketUserShare extends Model
return '未知';
}
}
public function linkedTicket()
{
return $this->belongsTo(TicketTicket::class, 'linked_ticket_id', 'id');
}
}