2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-07-26 19:22:02 +08:00
|
|
|
|
// 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;
|
2017-07-26 19:22:02 +08:00
|
|
|
|
using osu.Game.IO;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Beatmaps
|
|
|
|
|
{
|
|
|
|
|
public class BeatmapSetFileInfo
|
|
|
|
|
{
|
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-07-31 20:48:03 +08:00
|
|
|
|
|
2017-10-14 13:28:25 +08:00
|
|
|
|
public int BeatmapSetInfoID { get; set; }
|
2017-07-26 19:22:02 +08:00
|
|
|
|
|
2017-10-14 13:28:25 +08:00
|
|
|
|
public int FileInfoID { get; set; }
|
2017-10-06 05:23:26 +08:00
|
|
|
|
|
2017-07-31 20:48:03 +08:00
|
|
|
|
public FileInfo FileInfo { get; set; }
|
|
|
|
|
|
2017-10-05 03:52:12 +08:00
|
|
|
|
[Required]
|
2017-07-31 20:48:03 +08:00
|
|
|
|
public string Filename { get; set; }
|
2017-07-26 19:22:02 +08:00
|
|
|
|
}
|
2017-10-05 03:52:12 +08:00
|
|
|
|
}
|