Api/Brizco.Domain/Entities/Shifts/ShiftDay.cs

22 lines
566 B
C#
Raw Normal View History

2024-07-06 21:20:10 +03:30
namespace Brizco.Domain.Entities.Shifts;
2023-11-13 14:42:49 +03:30
2023-11-14 16:21:49 +03:30
[AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)]
[GenerateMapper]
2023-11-13 14:42:49 +03:30
public class ShiftDay : ApiEntity
{
public ShiftDay()
{
}
internal ShiftDay(DayOfWeek dayOfWeek, Guid shiftId)
{
DayOfWeek = dayOfWeek;
ShiftId = shiftId;
}
public DayOfWeek DayOfWeek { get; internal set; }
public Guid ShiftId { get; internal set; }
public Shift? Shift { get; internal set; }
}