2019-01-24 16:43:03 +08:00
|
|
|
|
// 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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2018-02-15 15:33:33 +08:00
|
|
|
|
using osu.Game.IO;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2018-02-14 19:26:49 +08:00
|
|
|
|
namespace osu.Game.Database
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represent a join model which gives a filename and scope to a <see cref="FileInfo"/>.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface INamedFileInfo
|
|
|
|
|
{
|
2018-11-28 12:42:36 +08:00
|
|
|
|
// An explicit foreign key property isn't required but is recommended and may be helpful to have
|
|
|
|
|
int FileInfoID { get; set; }
|
|
|
|
|
|
2018-02-14 19:26:49 +08:00
|
|
|
|
FileInfo FileInfo { get; set; }
|
2018-11-28 12:42:36 +08:00
|
|
|
|
|
2018-02-14 19:26:49 +08:00
|
|
|
|
string Filename { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|