19 lines
357 B
C#
19 lines
357 B
C#
namespace PostFundManagement.Domain.Models.Email;
|
|
|
|
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);
|
|
}
|
|
} |