Files
Massmailer/Massmailer.Shared/Model/MassmailerRecipient.cs
2021-02-04 23:40:08 +01:00

45 lines
1.1 KiB
C#

using System;
using System.ComponentModel;
namespace Massmailer.Shared.Model
{
public class MassmailerRecipient : INotifyPropertyChanged
{
private string address;
private bool isSent;
private DateTime sentDate;
public string Address
{
get { return this.address; }
set
{
this.address = value;
this.PropertyChanged(this, new PropertyChangedEventArgs(nameof(this.Address)));
}
}
public bool IsSent
{
get { return this.isSent; }
set
{
this.isSent = value;
this.PropertyChanged(this, new PropertyChangedEventArgs(nameof(this.IsSent)));
}
}
public DateTime SentDate
{
get { return this.sentDate; }
set
{
this.sentDate = value;
this.PropertyChanged(this, new PropertyChangedEventArgs(nameof(this.SentDate)));
}
}
public event PropertyChangedEventHandler PropertyChanged;
}
}