25 lines
621 B
C#
25 lines
621 B
C#
8 years ago
|
|
||
|
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; }
|
||
|
|
||
8 years ago
|
[ForeignKey("UserId")]
|
||
|
public virtual ApplicationUser User { get; set; }
|
||
|
|
||
8 years ago
|
public long SkillId { get; set; }
|
||
|
|
||
8 years ago
|
[ForeignKey("SkillId")]
|
||
|
public virtual Skill Skill { get; set; }
|
||
|
|
||
8 years ago
|
public string Comment { get; set; }
|
||
|
public int Rate { get; set; }
|
||
|
}
|
||
|
}
|