Move JsonIgnore specification to interface

This commit is contained in:
Dean Herbert
2018-11-30 16:39:25 +09:00
parent 58293c3eae
commit e82ad3539b
5 changed files with 2 additions and 8 deletions

View File

@ -15,7 +15,6 @@ namespace osu.Game.Beatmaps
[Serializable]
public class BeatmapInfo : IEquatable<BeatmapInfo>, IJsonSerializable, IHasPrimaryKey
{
[JsonIgnore]
public int ID { get; set; }
public int BeatmapVersion;
@ -29,7 +28,6 @@ namespace osu.Game.Beatmaps
set => onlineBeatmapID = value > 0 ? value : null;
}
[JsonIgnore]
public int BeatmapSetInfoID { get; set; }
public BeatmapSetOnlineStatus Status { get; set; } = BeatmapSetOnlineStatus.None;