﻿using Soldier.Extension.Archive.Quality.Dict;
using Soldier.Framework.Core;
using Soldier.Framework.Dao;
using Soldier.Windows.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Soldier.Extension.Archive.Quality.Entity
{
    public class BD002Entity : NotificationObject
    {
        private string _SXID001;
        private string _SXMC001;
        private string _SXBM001;
        private string _SFBL001;
        private string _JYLX001;
        private string _JYGZ001;
        private string _BZ00001;
        private string _YXZT001;
        private string _CJR0001;
        private string _CJSJ001;
        private string _XGR0001;
        private string _XGSJ001;


        public string SXID001 { get { return _SXID001; } set { _SXID001 = value; RaisePropertyChanged(); } }
        public string SXMC001 { get { return _SXMC001; } set { _SXMC001 = value; RaisePropertyChanged(); } }
        public string SXBM001 { get { return _SXBM001; } set { _SXBM001 = value; RaisePropertyChanged(); } }
        public string JYLX001 { get { return _JYLX001; } set { _JYLX001 = value; RaisePropertyChanged(); RaisePropertyChanged("JYLX001N"); } }
        public string JYGZ001 { get { return _JYGZ001; } set { _JYGZ001 = value; RaisePropertyChanged(); } }
        public string BZ00001 { get { return _BZ00001; } set { _BZ00001 = value; RaisePropertyChanged(); } }
        public string YXZT001 { get { return _YXZT001; } set { _YXZT001 = value; RaisePropertyChanged(); } }
        public string CJR0001 { get { return _CJR0001; } set { _CJR0001 = value; RaisePropertyChanged(); } }
        public string CJSJ001 { get { return _CJSJ001; } set { _CJSJ001 = value; RaisePropertyChanged(); } }
        public string XGR0001 { get { return _XGR0001; } set { _XGR0001 = value; RaisePropertyChanged(); } }
        public string XGSJ001 { get { return _XGSJ001; } set { _XGSJ001 = value; RaisePropertyChanged(); } }

        public string JYLX001N { get { return DictHelper.GetText<JYLX001>(_JYLX001); } }

        public string SFBL001 { get => _SFBL001; set { _SFBL001 = value; RaisePropertyChanged(); RaisePropertyChanged("SFBL001N"); } }
        public string SFBL001N { get { return DictHelper.GetText<SFBL001>(_SFBL001); } }
    }
}
