902942eee6
continuous-integration/drone/pr Build is passing
Sealed qualifying public classes Migrated database changes
20 lines
355 B
C#
20 lines
355 B
C#
namespace LiteCharms.Features.Email.Models;
|
|
|
|
public sealed class Message : IDisposable
|
|
{
|
|
public Party? Sender { get; set; }
|
|
|
|
public Party? Recipient { get; set; }
|
|
|
|
public string? Subject { get; set; }
|
|
|
|
public Body? Body { get; set; }
|
|
|
|
public void Dispose()
|
|
{
|
|
Body?.Dispose();
|
|
|
|
GC.SuppressFinalize(this);
|
|
}
|
|
}
|