2023-06-23 00:37:25 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2021-01-07 13:07:36 +08:00
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using Newtonsoft.Json;
|
2021-01-07 14:41:58 +08:00
|
|
|
|
using Realms;
|
2021-01-07 13:07:36 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Database
|
|
|
|
|
{
|
|
|
|
|
public interface IHasGuidPrimaryKey
|
|
|
|
|
{
|
2021-01-07 14:41:58 +08:00
|
|
|
|
[JsonIgnore]
|
2021-01-08 14:49:11 +08:00
|
|
|
|
[PrimaryKey]
|
2021-10-04 15:26:28 +08:00
|
|
|
|
Guid ID { get; }
|
2021-01-07 13:07:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|