16 lines
484 B
C#
16 lines
484 B
C#
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>();
|
|
}
|