2016-10-18 17:35:01 +00:00
|
|
|
|
using System;
|
2016-10-19 14:47:23 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using SQLite.Net.Attributes;
|
2016-10-18 17:35:01 +00:00
|
|
|
|
using SQLiteNetExtensions.Attributes;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Database
|
|
|
|
|
{
|
|
|
|
|
public class BeatmapSetInfo
|
|
|
|
|
{
|
|
|
|
|
[PrimaryKey]
|
2016-10-21 08:01:12 +00:00
|
|
|
|
public int BeatmapSetID { get; set; }
|
|
|
|
|
|
|
|
|
|
[OneToOne(CascadeOperations = CascadeOperation.All)]
|
|
|
|
|
public BeatmapMetadata Metadata { get; set; }
|
|
|
|
|
|
|
|
|
|
[NotNull, ForeignKey(typeof(BeatmapMetadata))]
|
2016-10-18 17:35:01 +00:00
|
|
|
|
public int BeatmapMetadataID { get; set; }
|
2016-10-21 08:01:12 +00:00
|
|
|
|
|
|
|
|
|
[OneToMany(CascadeOperations = CascadeOperation.All)]
|
|
|
|
|
public List<BeatmapInfo> Beatmaps { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Hash { get; set; }
|
|
|
|
|
|
2016-10-18 17:35:01 +00:00
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|