Files
messengerapi/code/MessengerApi.Db.Contracts/Entities/Message.cs
masiton a44912ac87
All checks were successful
Build and Push Docker Image / build (push) Successful in 55s
Build and Push Docker Image / docker (push) Successful in 36s
payloadLifespan/payloadLifetime and other name variants unified to Time To Live naming.
2025-07-05 17:07:53 +02:00

25 lines
555 B
C#

using MessengerApi.Db.Contracts.Entities;
namespace MessengerApi.Db.Entities
{
public class Message : IEntity<Message>
{
public Guid Id { get; set; }
public DateTime CreatedUtc { get; set; }
public Guid FromId { get; set; }
public Guid ToId { get; set; }
public bool IsDelivered { get; set; }
public bool IsAcknowledged { get; set; }
public string PayloadType { get; set; }
public string Payload { get; set; }
public int? TimeToLiveInSeconds { get; set; }
}
}