2024-11-13 20:44:01 +01:00
|
|
|
|
using FirmTracker_Server.Entities;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace YourNamespace.Models
|
|
|
|
|
{
|
|
|
|
|
public class Workday
|
|
|
|
|
{
|
|
|
|
|
public virtual int Id { get; set; }
|
|
|
|
|
public virtual DateTime? StartTime { get; set; }
|
|
|
|
|
public virtual DateTime? EndTime { get; set; }
|
2024-11-26 22:12:02 +01:00
|
|
|
|
public TimeSpan WorkedHours { get; set; }
|
2024-11-13 20:44:01 +01:00
|
|
|
|
// Many-to-One relationship to the User entity
|
|
|
|
|
public virtual User User { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|