24 lines
582 B
C#
24 lines
582 B
C#
using System;
|
|
using SQLite.Net.Attributes;
|
|
|
|
namespace SQLiteRepository
|
|
{
|
|
public sealed class TimeLogDB
|
|
{
|
|
[PrimaryKey, AutoIncrement]
|
|
public int Id { get; set; }
|
|
public int UserId_FK { get; set; }
|
|
public int IdentifierId { get; set; }
|
|
public LogDirectionDB Direction { get; set; }
|
|
public DateTimeOffset SwipeEventDateTime { get; set; }
|
|
public int CalendarWeek { get; set; }
|
|
public int Year { get; set; }
|
|
}
|
|
|
|
public enum LogDirectionDB
|
|
{
|
|
UNKNOWN = 0,
|
|
IN = 1,
|
|
OUT = 2
|
|
}
|
|
} |