Move primary key attribute to IHasPrimaryKey

This commit is contained in:
smoogipoo
2018-11-28 13:19:23 +09:00
parent ea52d2d527
commit 14ff4bc26a
11 changed files with 11 additions and 20 deletions

View File

@ -3,14 +3,12 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using osu.Game.Database;
namespace osu.Game.Skinning
{
public class SkinInfo : IHasFiles<SkinFileInfo>, IEquatable<SkinInfo>, IHasPrimaryKey, ISoftDelete
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int ID { get; set; }
public string Name { get; set; }