instruments & global positioning
This commit is contained in:
parent
c9fa779f16
commit
2878f6b8db
27 changed files with 6633 additions and 125 deletions
|
|
@ -8,7 +8,14 @@ namespace Yavsc.Models.Musical
|
|||
{
|
||||
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id {get; set; }
|
||||
public Instrument Instrument { get; set; }
|
||||
|
||||
[Required]
|
||||
public long InstrumentId { get; set; }
|
||||
|
||||
[ForeignKey("InstrumentId")]
|
||||
public virtual Instrument Instrument { get; set; }
|
||||
|
||||
[Range(-100,100)]
|
||||
public int Rate { get; set; }
|
||||
|
||||
public string OwnerId { get; set; }
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@ namespace Yavsc.Models.Musical.Profiles
|
|||
[InverseProperty("WorkingFor")]
|
||||
public virtual List<CoWorking> CoWorking { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue