/
renix
/
TravelGuide
Обзор
Документация
Войти
/
renix
/
TravelGuide
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
back/Models/Entities/UserEntity.cs
18 строк
556 B
artem777764
Cities Endpoints
04 мар 2025, 17:28
04 мар 2025, 17:28
ce70119
Код
Авторство
О чём код?
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace back.Models.Entities; public record UserEntity { public int Id {get; set;} public required string Login {get; set;} public required string HashPassword {get; set;} public int RoleId {get; set;} public List<LandmarkRecomendationEntity> LandmarkRecomendations {get; set;} = new List<LandmarkRecomendationEntity>(); public List<PathEntity> Paths {get; set;} = new List<PathEntity>(); public RoleEntity? Role {get; set;} }