Files
Backend-Api/0_Framework/Domain/CustomizeCheckoutShared/ValueObjects/IrregularShift.cs

23 lines
613 B
C#

using System;
using _0_Framework.Domain.CustomizeCheckoutShared.Enums;
namespace _0_Framework.Domain.CustomizeCheckoutShared.ValueObjects;
public record IrregularShift
{
public IrregularShift()
{
}
public IrregularShift(TimeOnly startTime, TimeOnly endTime, WorkshopIrregularShifts workshopIrregularShifts)
{
StartTime = startTime;
EndTime = endTime;
WorkshopIrregularShifts = workshopIrregularShifts;
}
public TimeOnly StartTime { get; set; }
public TimeOnly EndTime { get; set; }
public WorkshopIrregularShifts WorkshopIrregularShifts { get; set; }
}