You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sae_2a_anglais/Project/EntityFramework/Entities/RoleEntity.cs

22 lines
480 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities
{
public class RoleEntity
{
public long Id { get; set; }
public string Name { get; set; }
public ICollection<UserEntity> Users { get; set; } = new List<UserEntity>();
public string toString()
{
return Id +" " + Name;
}
}
}