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.
16 lines
478 B
16 lines
478 B
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace AppContext.Entities;
|
|
|
|
public class UserEntity
|
|
{
|
|
[Key] public int Id { get; set; }
|
|
|
|
public required string Password { get; set; }
|
|
public required string Name { get; set; }
|
|
public required string Email { get; set; }
|
|
public required string ProfilePicture { get; set; }
|
|
public required bool IsAdmin { get; set; }
|
|
|
|
public ICollection<TacticEntity> Tactics { get; set; } = new List<TacticEntity>();
|
|
} |