﻿namespace P01_StudentSystem.Data.Models
{
    using System;
    using P01_StudentSystem.Enums;

    public class Homework
    {
        public Homework()
        {
        }

        public Homework(string content, ContentType contentType, DateTime submissionTime, int studentId, int courseId)
        {
            this.Content = content;
            this.ContentType = contentType;
            this.SubmissionTime = submissionTime;
            this.StudentId = studentId;
            this.CourseId = courseId;
        }

        public int HomeworkId { get; set; }

        public string Content { get; set; }

        public ContentType ContentType { get; set; }

        public DateTime SubmissionTime { get; set; }

        public int StudentId { get; set; }
        public Student Student { get; set; }

        public int CourseId { get; set; }
        public Course Course { get; set; }
    }
}
