Files
rent-a-car/RentACar/Data/Entities/Role.cs
ani_konarcheva@abv.bg 982a6a66dd firstCommit
2022-03-25 16:24:21 +02:00

27 lines
503 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data.Entities
{
public class Role
{
public Role()
{
this.Users = new HashSet<User>();
}
public Role(string name) : this()
{
this.Name = name;
}
public int Id { get; set; }
public string Name { get; set; }
public virtual ICollection<User> Users { get; set; }
}
}