yavsc/Yavsc.Server/Models/Workflow/UserSkills.cs

25 lines
621 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models
{
public partial class UserSkills
{
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
public string UserId { get; set; }
[ForeignKey("UserId")]
public virtual ApplicationUser User { get; set; }
public long SkillId { get; set; }
[ForeignKey("SkillId")]
public virtual Skill Skill { get; set; }
public string Comment { get; set; }
public int Rate { get; set; }
}
}