Files
yavsc/Yavsc.Server/Models/Musical/InstrumentRating.cs
Paul Schneider f7d4447594 Two things:
* User views its devices, from a /manage index link
* Yavsc.Server resurection
2018-05-15 12:13:38 +02:00

20 lines
543 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yavsc.Models.Workflow;
namespace Yavsc.Models.Musical
{
public class InstrumentRating
{
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id {get; set; }
public Instrument Instrument { get; set; }
public int Rate { get; set; }
public string OwnerId { get; set; }
[ForeignKey("OwnerId")]
public virtual PerformerProfile Profile { get; set; }
}
}