mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Update all EF based models to implement new read only interfaces
This commit is contained in:
15
osu.Game/Database/IHasOnlineID.cs
Normal file
15
osu.Game/Database/IHasOnlineID.cs
Normal file
@ -0,0 +1,15 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
#nullable enable
|
||||
|
||||
namespace osu.Game.Database
|
||||
{
|
||||
public interface IHasOnlineID
|
||||
{
|
||||
/// <summary>
|
||||
/// The server-side ID representing this instance, if one exists.
|
||||
/// </summary>
|
||||
int? OnlineID { get; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user