2017-01-13 16:31:40 +01:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using Yavsc.Models.Workflow;
|
|
|
|
|
|
2017-02-12 22:20:57 +01:00
|
|
|
namespace Yavsc.Models.Musical
|
2017-01-13 16:31:40 +01:00
|
|
|
{
|
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|