basic ui created
This commit is contained in:
@@ -1,13 +1,44 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Massmailer.Shared.Model
|
||||
{
|
||||
public class MassmailerRecipient
|
||||
public class MassmailerRecipient : INotifyPropertyChanged
|
||||
{
|
||||
public string Address { get; set; }
|
||||
private string address;
|
||||
private bool isSent;
|
||||
private DateTime sentDate;
|
||||
|
||||
public bool IsSent { get; set; }
|
||||
public string Address
|
||||
{
|
||||
get { return this.address; }
|
||||
set
|
||||
{
|
||||
this.address = value;
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(nameof(this.Address)));
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime SentDate { get; set; }
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user