using System.Workflow.Activities;
using System.Workflow.ComponentModel;

namespace NewEmployeeWFLibrary.Activities
{
    public partial class BaseEmployeeActivity : Activity
    {
        public BaseEmployeeActivity()
        {
            InitializeComponent();
        }

        // DependencyProperty for Email.
        public static readonly DependencyProperty EmailProperty
            = DependencyProperty.Register("Email", typeof (string), typeof (BaseEmployeeActivity));

        // DependencyProperty for FirstName.
        public static readonly DependencyProperty FirstNameProperty =
            DependencyProperty.Register("FirstName", typeof (string), typeof (BaseEmployeeActivity));

        // DependencyProperty for LastName.
        public static readonly DependencyProperty LastNameProperty
            = DependencyProperty.Register("LastName", typeof (string), typeof (BaseEmployeeActivity));

        public string Email
        {
            get { return (string) GetValue(EmailProperty); }
            set { SetValue(EmailProperty, value); }
        }

        public string FirstName
        {
            get { return (string) GetValue(FirstNameProperty); }
            set { SetValue(FirstNameProperty, value); }
        }

        public string LastName
        {
            get { return (string) GetValue(LastNameProperty); }
            set { SetValue(LastNameProperty, value); }
        }
    }
}