25 lines
675 B
C#
25 lines
675 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using SQLite;
|
|
|
|
namespace WguApp.Models;
|
|
|
|
[Table("Assessments")]
|
|
public class Assessment
|
|
{
|
|
[PrimaryKey, AutoIncrement]
|
|
public int Id { get; set; }
|
|
public int CourseId { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public AssessmentType Type { get; set; }
|
|
public DateTime StartDate { get; set; }
|
|
public DateTime EndDate { get; set; }
|
|
public bool StartNotifCheck { get; set; } = false;
|
|
public int StartNotifId { get; set; }
|
|
public bool EndNotifCheck { get; set; } = false;
|
|
public int EndNotifId { get; set; }
|
|
}
|
|
|
|
public enum AssessmentType
|
|
{
|
|
Performance, Objective
|
|
} |