osu/osu.Game/Database/INamedFileInfo.cs

21 lines
606 B
C#
Raw Normal View History

2018-04-13 09:19:50 +00:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.IO;
namespace osu.Game.Database
{
/// <summary>
/// Represent a join model which gives a filename and scope to a <see cref="FileInfo"/>.
/// </summary>
public interface INamedFileInfo
{
// An explicit foreign key property isn't required but is recommended and may be helpful to have
int FileInfoID { get; set; }
2018-04-13 09:19:50 +00:00
FileInfo FileInfo { get; set; }
2018-04-13 09:19:50 +00:00
string Filename { get; set; }
}
}