23 lines
602 B
C#
23 lines
602 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace UWLib
|
|
{
|
|
[PrimaryKey(nameof(Id), nameof(Semester))]
|
|
public class Lecture
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string Semester { get; set; }
|
|
public string Title { get; set; }
|
|
public string Url { get; set; }
|
|
public string? Description { get; set; }
|
|
public List<LectureEvent> Events { get; set; } = new List<LectureEvent>();
|
|
}
|
|
}
|