/
renix
/
TravelGuide
Обзор
Документация
Войти
/
renix
/
TravelGuide
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
back/Models/Entities/LandmarkEntity.cs
30 строк
1 KB
atikinvobud
Матрица дистанций и Эндпоинты Олега
03 апр 2025, 17:10
03 апр 2025, 17:10
a058564
Код
Авторство
О чём код?
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace back.Models.Entities; public record LandmarkEntity { public int Id {get; set;} public required int CityId {get; set;} public required string Name {get; set;} public string? Description {get; set;} public required int VisitTimeMinutes {get; set;} public required int VisitCost {get; set;} public required string Address {get; set;} public double Latitude {get; set;} public double Longtitude {get; set;} public string? PhoneNumber {get; set;} public string? WebSite {get; set;} public string? ImageId {get; set;} public List<StepEntity> StepStarts {get; set;} = new List<StepEntity>(); public List<StepEntity> StepEnds {get; set;} = new List<StepEntity>(); public List<LandmarkTagsEntity> LandmarkTags {get; set;} = new List<LandmarkTagsEntity>(); public List<LandmarkRecomendationEntity> LandmarkRecomendations{get; set;}=new List<LandmarkRecomendationEntity>(); public List<FeedbackEntity> Feedback {get; set;} = new List<FeedbackEntity>(); public CityEntity? City {get; set;} }