Api/Brizco.Domain/Entities/Tasks/TaskRoutine.cs

24 lines
609 B
C#
Raw Permalink Normal View History

2024-08-11 19:20:09 +03:30
namespace Brizco.Domain.Entities.Tasks;
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 TaskRoutine : ApiEntity
{
public TaskRoutine()
{
}
internal TaskRoutine(Guid routineId,Guid taskId)
{
RoutineId = routineId;
TaskId = taskId;
}
public Guid TaskId { get; internal set; }
public Task? Task { get; internal set; }
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
}