1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 02:22:56 +08:00
osu-lazer/osu.Game/Beatmaps/BeatmapSetFileInfo.cs

26 lines
725 B
C#
Raw Normal View History

2018-01-05 19:21:19 +08:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2017-10-05 03:52:12 +08:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using osu.Game.Database;
using osu.Game.IO;
namespace osu.Game.Beatmaps
{
public class BeatmapSetFileInfo : INamedFileInfo
{
2017-10-06 05:23:26 +08:00
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
2017-10-14 13:28:25 +08:00
public int ID { get; set; }
2017-10-14 13:28:25 +08:00
public int BeatmapSetInfoID { get; set; }
2017-10-14 13:28:25 +08:00
public int FileInfoID { get; set; }
2017-10-06 05:23:26 +08:00
public FileInfo FileInfo { get; set; }
2017-10-05 03:52:12 +08:00
[Required]
public string Filename { get; set; }
}
2017-10-05 03:52:12 +08:00
}