Добавил домен
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
Reference in New Issue
Block a user