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