using System;

namespace Interfaces
{
    public class TimeLog
    {
        public int Id { get; set; }
        public int UserId { get; set; }
        public int IdentifierId { get; set; }
        public LogDirection Direction { get; set; }
        public DateTimeOffset EventTime { get; set; }
        public int CalendarWeek { get; set; }
        public int Year { get; set; }
        public LogSource Source { get; set; }
    }

    public enum LogDirection
    {
        UNKNOWN = 0,
        IN = 1,
        OUT = 2
    }

    public enum LogSource
    {
        UNKNOWN=0,
        IDENTIFIER=1,
        UI=2,
        TRAYAPP=3
    }
}