2017-01-13 16:31:40 +01:00
|
|
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
|
2017-02-12 22:20:57 +01:00
|
|
|
namespace Yavsc.Models.Musical {
|
2017-01-13 16:31:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class MusicalTendency {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
|
public long Id {get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(255),Required]
|
|
|
|
|
public string Name { get ; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|