using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FWindSoft.Data;

namespace Com.FirmLib.UI.Insuer.Model
{
    /// <summary>
    /// 保单信息
    /// </summary>
    public class PolicyShowItem:BasePropertyChanged
    {
        /// <summary>
        /// 项目保单信息
        /// </summary>
        public string ProjectId { get; set; }
        /// <summary>
        /// 保险ID
        /// </summary>
        public string InsuerId { get; set; }

        private string m_PolicyNo;
        /// <summary>
        /// 保单编号
        /// </summary>
        public string PolicyNo
        {
            get { return this.m_PolicyNo; }
            set
            {
                this.m_PolicyNo = value;
                RaisePropertyChanged(() => this.PolicyNo);
            }
        }

        private string m_EndDate;
        /// <summary>
        /// 保单截止日期
        /// </summary>
        public string EndDate
        {
            get { return this.m_EndDate; }
            set
            {
                this.m_EndDate = value;
                RaisePropertyChanged(() => this.EndDate);
            }
        }


        private int m_RefAssetCount;
        /// <summary>
        /// 关联资产数量
        /// </summary>
        public int RefAssetCount
        {
            get { return this.m_RefAssetCount; }
            set
            {
                this.m_RefAssetCount = value;
                RaisePropertyChanged(() => this.RefAssetCount);
            }
        }


        private string m_PolicyFile;
        /// <summary>
        /// 保单文件
        /// </summary>
        public string PolicyFile
        {
            get { return this.m_PolicyFile; }
            set
            {
                this.m_PolicyFile = value;
                RaisePropertyChanged(nameof(this.PolicyFile));
            }
        }
    }
}
