Добавил домен

This commit is contained in:
2026-04-28 15:52:05 +03:00
parent fd94733873
commit 25d617639c
25 changed files with 349 additions and 0 deletions
@@ -0,0 +1,15 @@
namespace UniVerse.Domain.Entities;
public class Location
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string? Building { get; set; }
public string? Room { get; set; }
public string? Address { get; set; }
public string? ExternalId { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
// Navigation properties
public ICollection<Lecture> Lectures { get; set; } = new List<Lecture>();
}