using Aitex.Core.Util;
using Caliburn.Micro.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MECF.Framework.UI.Client.CenterViews.Maintain
{
    public class MaintainEventInfo : PropertyChangedBase
    {
        private string _planname = string.Empty;

        public string PlanName
        {
            get { return _planname; }
            set { _planname = value; NotifyOfPropertyChange(nameof(PlanName)); }
        }

        string _planmodule = string.Empty;
        public string PlanModule
        {
            get { return _planmodule; }
            set { _planmodule = value; NotifyOfPropertyChange(nameof(PlanModule)); }
        }

        string _parentitemname = string.Empty;
        public string ParentItemName
        {
            get { return _parentitemname; }
            set { _parentitemname = value; NotifyOfPropertyChange(nameof(ParentItemName)); }
        }

        private string _itemname = string.Empty;

        public string ItemName
        {
            get { return _itemname; }
            set { _itemname = value; NotifyOfPropertyChange(nameof(ItemName)); }
        }

        private int _index = 0;

        public int Index
        {
            get { return _index; }
            set { _index = value; NotifyOfPropertyChange(nameof(Index)); }
        }

        private DateTime _maintaintime;

        public DateTime MaintainTime
        {
            get { return _maintaintime; }
            set { _maintaintime = value; NotifyOfPropertyChange(nameof(MaintainTime)); }
        }

        private string _description = string.Empty;

        public string Description
        {
            get { return _description; }
            set { _description = value; NotifyOfPropertyChange(nameof(Description)); }
        }

        private string _recorder = string.Empty;

        public string Recorder
        {
            get { return _recorder; }
            set { _recorder = value; NotifyOfPropertyChange(nameof(Recorder)); }
        }

        private string _record = string.Empty;

        public string Record
        {
            get { return _record; }
            set { _record = value; NotifyOfPropertyChange(nameof(Record)); }
        }
    }
}
