namespace Brizco.Domain.Entities.Shift; [AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)] [AdaptTwoWays("[name]LDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)] [GenerateMapper] public partial class ShiftPlan : ApiEntity { public ShiftPlan() { } internal ShiftPlan(DateTime planFor, Guid routineId,Guid shiftId) { PlanFor = planFor; RoutineId = routineId; ShiftId = shiftId; } public DateTime PlanFor { get; internal set; } public Guid ShiftId { get; internal set; } public virtual Shift? Shift { get; internal set; } public Guid RoutineId { get; internal set; } public virtual Routine.Routine? Routine { get; internal set; } public List Users { get; internal set; } = new(); }