using System;
using System.Xml.Serialization;

namespace Aop.Api.Domain
{
    /// <summary>
    /// RepayPlanTermVO Data Structure.
    /// </summary>
    [Serializable]
    public class RepayPlanTermVO : AopObject
    {
        /// <summary>
        /// 当期利息
        /// </summary>
        [XmlElement("int_bal")]
        public string IntBal { get; set; }

        /// <summary>
        /// 当期利息罚息
        /// </summary>
        [XmlElement("ovd_int_penalty_bal")]
        public string OvdIntPenaltyBal { get; set; }

        /// <summary>
        /// 当期本金罚息
        /// </summary>
        [XmlElement("ovd_prin_penalty_bal")]
        public string OvdPrinPenaltyBal { get; set; }

        /// <summary>
        /// 当期已还利息
        /// </summary>
        [XmlElement("paid_int_amt")]
        public string PaidIntAmt { get; set; }

        /// <summary>
        /// 当期已还利息罚息
        /// </summary>
        [XmlElement("paid_ovd_int_penalty_amt")]
        public string PaidOvdIntPenaltyAmt { get; set; }

        /// <summary>
        /// 当期已还本金罚息
        /// </summary>
        [XmlElement("paid_ovd_prin_penalty_amt")]
        public string PaidOvdPrinPenaltyAmt { get; set; }

        /// <summary>
        /// 当期已还本金
        /// </summary>
        [XmlElement("paid_prin_amt")]
        public string PaidPrinAmt { get; set; }

        /// <summary>
        /// 当期本金
        /// </summary>
        [XmlElement("prin_bal")]
        public string PrinBal { get; set; }

        /// <summary>
        /// 当期应还总额=当期本金+当期利息+当期本金罚息+当期利息罚息
        /// </summary>
        [XmlElement("repay_amt_total")]
        public string RepayAmtTotal { get; set; }

        /// <summary>
        /// 分期状态，取值{NORMAL, OVD, CLEAR}：NORMAL-正常; OVD-逾期; CLEAR-结清
        /// </summary>
        [XmlElement("status")]
        public string Status { get; set; }

        /// <summary>
        /// 本期到期日，即应还款日期
        /// </summary>
        [XmlElement("term_end_date")]
        public string TermEndDate { get; set; }

        /// <summary>
        /// 期次号
        /// </summary>
        [XmlElement("term_no")]
        public long TermNo { get; set; }
    }
}
