Update all EF based models to implement new read only interfaces

This commit is contained in:
Dean Herbert
2021-10-01 16:31:11 +09:00
parent 619dfe0690
commit d309636460
12 changed files with 57 additions and 11 deletions

View File

@ -7,7 +7,7 @@ using osu.Game.IO;
namespace osu.Game.Beatmaps
{
public class BeatmapSetFileInfo : INamedFileInfo, IHasPrimaryKey
public class BeatmapSetFileInfo : INamedFileInfo, IHasPrimaryKey, INamedFileUsage
{
public int ID { get; set; }
@ -19,5 +19,7 @@ namespace osu.Game.Beatmaps
[Required]
public string Filename { get; set; }
public IFileInfo File => FileInfo;
}
}