Started working on backend
This commit is contained in:
15
src/WorkTime.Api/Models/TimeEntry.cs
Normal file
15
src/WorkTime.Api/Models/TimeEntry.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace WorkTime.Api.Models;
|
||||
|
||||
public class TimeEntry {
|
||||
public Guid Owner { get; set; }
|
||||
public DateTime RegisteredAt { get; set; }
|
||||
public EntryType Type { get; set; }
|
||||
public bool IsMoba { get; set; }
|
||||
}
|
||||
|
||||
public enum EntryType {
|
||||
Login = 0,
|
||||
Logout = 1,
|
||||
StartDrive = 2,
|
||||
EndDrive = 3
|
||||
}
|
||||
Reference in New Issue
Block a user