Lectureplan/UWLib/Lecture.cs
Robin Weichselbraun 03ddeba846 Performance update with HTMLAgilityPack
Added Branches
Added LinksToScrape
Added ScrapedLinks
2024-10-12 17:36:23 +02:00

23 lines
644 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>();
public string Branch { get; set; }
}
}