This commit is contained in:
Paul Schneider 2026-02-28 21:17:54 +00:00
commit 40e8e08690
3487 changed files with 39 additions and 21 deletions

View file

@ -0,0 +1,27 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yavsc.Attributes.Validation;
namespace Yavsc.Models.Musical
{
public class MusicalPreference {
[Key]
public string OwnerProfileId
{
get; set;
}
public int Rate { get; set; }
[YaRequired]
public long TendencyId { get; set; }
[ForeignKey("TendencyId")]
public virtual MusicalTendency MusicalTendency { get; set; }
}
}