27 lines
839 B
C#
27 lines
839 B
C#
using Brizco.Domain.Entities.User;
|
|
|
|
namespace Brizco.Domain.Entities.Complex;
|
|
[AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)]
|
|
[GenerateMapper]
|
|
public partial class PositionUser : ApiEntity
|
|
{
|
|
public PositionUser()
|
|
{
|
|
|
|
}
|
|
public PositionUser(Guid positionId,Guid applicationUserId ,Guid shiftPlanId)
|
|
{
|
|
ApplicationUserId = applicationUserId;
|
|
ShiftPlanId = shiftPlanId;
|
|
PositionId = positionId;
|
|
}
|
|
|
|
public Guid ApplicationUserId { get; set; }
|
|
public ApplicationUser? ApplicationUser { get; set; }
|
|
|
|
public Guid PositionId { get; set; }
|
|
public Position? Position { get; set; }
|
|
|
|
public Guid ShiftPlanId { get; set; }
|
|
public ShiftPlan? ShiftPlan { get; set; }
|
|
} |