cleanup
This commit is contained in:
parent
f17202e3bb
commit
ca03b496db
19 changed files with 45 additions and 106 deletions
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Yavsc.Attributes.Validation;
|
||||
|
||||
namespace Yavsc.Models.Musical
|
||||
|
|
@ -17,7 +18,10 @@ namespace Yavsc.Models.Musical
|
|||
public int Rate { get; set; }
|
||||
|
||||
[YaRequired]
|
||||
public long TendencyId {get; set; }
|
||||
public long TendencyId { get; set; }
|
||||
|
||||
[ForeignKey("TendencyId")]
|
||||
public virtual MusicalTendency MusicalTendency { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue