16 lines
573 B
C#
16 lines
573 B
C#
|
|
using MediatR;
|
||
|
|
using BffProto = BackOffice.BFF.PublicMessage.Protobuf;
|
||
|
|
|
||
|
|
namespace BackOffice.BFF.Application.PublicMessageCQ.Commands.UpdatePublicMessage;
|
||
|
|
|
||
|
|
public record UpdatePublicMessageCommand : IRequest<BffProto.UpdatePublicMessageResponse>
|
||
|
|
{
|
||
|
|
public long MessageId { get; init; }
|
||
|
|
public string Title { get; init; } = string.Empty;
|
||
|
|
public string Content { get; init; } = string.Empty;
|
||
|
|
public int MessageType { get; init; }
|
||
|
|
public int Priority { get; init; }
|
||
|
|
public DateTime StartsAt { get; init; }
|
||
|
|
public DateTime ExpiresAt { get; init; }
|
||
|
|
}
|