2023-09-15 12:37:02 +03:30
|
|
|
|
using Brizco.Domain.Entities.User;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Brizco.Domain.Entities.Shift;
|
|
|
|
|
|
|
2023-09-18 15:41:41 +03:30
|
|
|
|
[AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)]
|
|
|
|
|
|
[GenerateMapper]
|
2023-09-15 12:37:02 +03:30
|
|
|
|
public class ShiftPlanUser : ApiEntity
|
|
|
|
|
|
{
|
|
|
|
|
|
public ShiftPlanUser()
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public ShiftPlanUser(Guid shiftPlanId, Guid applicationUserId)
|
|
|
|
|
|
{
|
|
|
|
|
|
ShiftPlanId = shiftPlanId;
|
|
|
|
|
|
ApplicationUserId = applicationUserId;
|
|
|
|
|
|
}
|
2023-09-18 15:41:41 +03:30
|
|
|
|
public Guid ShiftPlanId { get; internal set; }
|
|
|
|
|
|
public ShiftPlan? ShiftPlan { get; internal set; }
|
2023-09-15 12:37:02 +03:30
|
|
|
|
|
2023-09-18 15:41:41 +03:30
|
|
|
|
public Guid ApplicationUserId { get; internal set; }
|
|
|
|
|
|
public ApplicationUser? ApplicationUser { get; internal set; }
|
2023-09-15 12:37:02 +03:30
|
|
|
|
}
|