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 required 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; } = [];
        public string? Branch { get; set; }

        public string? Type{ get; set; }
    }
}
