28 lines
585 B
C#
28 lines
585 B
C#
using MediatR;
|
|
|
|
namespace WorkFlow.Application.Buttons;
|
|
|
|
public record ButtonDto
|
|
{
|
|
public int Id { get; init; }
|
|
|
|
public required int ProfileId { get; init; }
|
|
|
|
public byte? DialogNo { get; init; }
|
|
|
|
public string? BtnType { get; init; }
|
|
|
|
public string? Icon { get; init; }
|
|
|
|
public string? ForeColor { get; init; }
|
|
|
|
public string? BackColor { get; init; }
|
|
|
|
public string? Command { get; init; }
|
|
|
|
public string? DialogCommand { get; init; }
|
|
|
|
public string? ConfirmationText { get; init; }
|
|
}
|
|
|
|
public record ReadButtonRequest : IRequest<ButtonDto>; |