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

21 lines
624 B
C#
Raw Normal View History

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