feat(ReadObject): created to handle objects.
- Add ObjectDto and mapping profile
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using MediatR;
|
||||
using WorkFlow.Application.Buttons;
|
||||
using WorkFlow.Application.Contracts.Repositories;
|
||||
using WorkFlow.Application.Objects;
|
||||
|
||||
namespace WorkFlow.Application.Profiles;
|
||||
|
||||
@@ -21,6 +22,8 @@ public class ProfileDto
|
||||
|
||||
public string? BackColor { get; init; }
|
||||
|
||||
public IEnumerable<ObjectDto> Objects { get; init; } = Array.Empty<ObjectDto>();
|
||||
|
||||
public IEnumerable<ButtonDto>? Buttons { get; set; } = Array.Empty<ButtonDto>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user