19 lines
530 B
C#
19 lines
530 B
C#
namespace Demo.Domain.Models
|
|
{
|
|
public class Presence
|
|
{
|
|
public required User User{get; set; }
|
|
public bool IsAttedance { get; set; } = true;
|
|
public required DateOnly Date { get; set; }
|
|
|
|
public required int LessonNumber { get; set; }
|
|
}
|
|
|
|
public class PresencePost
|
|
{
|
|
public required int firstLesson {get; set; }
|
|
public required int lastLesson {get; set; }
|
|
public required int groupID {get; set; }
|
|
public required DateOnly date {get; set; }
|
|
}
|
|
} |