osu/osu.Game/Beatmaps/BeatmapSetFileInfo.cs

25 lines
682 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// 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;
using osu.Game.IO;
namespace osu.Game.Beatmaps
{
public class BeatmapSetFileInfo
{
2017-10-05 21:23:26 +00:00
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
2017-10-04 19:52:12 +00:00
public int BeatmapSetInfoId { get; set; }
2017-10-04 19:52:12 +00:00
public int FileInfoId { get; set; }
2017-10-05 21:23:26 +00:00
public FileInfo FileInfo { get; set; }
2017-10-04 19:52:12 +00:00
[Required]
public string Filename { get; set; }
}
2017-10-04 19:52:12 +00:00
}