FirmTracker-Server/Models/Workday.cs

16 lines
384 B
C#
Raw Normal View History

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; }
// Many-to-One relationship to the User entity
public virtual User User { get; set; }
}
}