even more classes
This commit is contained in:
parent
7a0dd38016
commit
1e90ddff6d
26
classes.cs
26
classes.cs
@ -4,6 +4,9 @@ public class Student
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public DateTime Created { get; set; } = DateTime.Now;
|
||||
|
||||
public IColletion<Objective> Objectives { get; set; }
|
||||
public ICollection<Goal> Goals { get; set; }
|
||||
}
|
||||
|
||||
public class Goal
|
||||
@ -19,4 +22,27 @@ public class Objective
|
||||
public Guid Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public DateTime Target { get; set; }
|
||||
public Student Student { get; set; }
|
||||
public ICollection<Track> Tracks { get; set; }
|
||||
public TrackType TrackType { get; set; }
|
||||
}
|
||||
|
||||
public class Track
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public Objective Objective { get; set; }
|
||||
public object Data { get; set; }
|
||||
}
|
||||
|
||||
public enum TrackType
|
||||
{
|
||||
[Description("Yes/No")]
|
||||
YesNo = 0,
|
||||
|
||||
Percent = 1,
|
||||
|
||||
[Desciption("Times per duration")]
|
||||
TimesPer = 2
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user