using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace WpfApp { [Table("Role")] public class Role { public int Id { get; set; } [Required] public string Name { get; set; } public List Users { get; set; } } }