21 lines
624 B
C#
21 lines
624 B
C#
namespace Brizco.Domain.Entities.Shifts;
|
|
|
|
[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; }
|
|
public Routine? Routine { get; internal set; }
|
|
|
|
public Guid ShiftId { get; internal set; }
|
|
public Shift? Shift { get; internal set; }
|
|
} |