using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XYY.Common.Standard;
using XYY.Core.Standard;
using XYY.Model.Standard.Enums;

namespace XYY.Model.Standard.Finance
{
    public class View_Finance_Customer_Remittance : Finance_Customer_Remittance
    {
        public string CustomerName
        {
            get; set;
        }

        public string StrStatus => Status.ToString();
    }

    public class Finance_Customer_Remittance : BaseEntity
    {
        public int CustomerId
        {
            get; set;
        }

        public string UserName
        {
            get; set;
        }

        public DateTime RemittanceDate
        {
            get; set;
        }

        public string Bank
        {
            get; set;
        }

        public string Curreny
        {
            get; set;
        }

        public string AccountNumber
        {
            get; set;
        }

        public decimal Payment
        {
            get; set;
        }

        public decimal Rate
        {
            get; set;
        }

        public decimal PaymentCNY
        {
            get; set;
        }

        public DateTime? PassDate
        {
            get; set;
        }

        public CustomerRemittanceStatus Status
        {
            get; set;
        }

        public string ReasonsForRejection
        {
            get; set;
        }

        public string Appendix
        {
            get; set;
        }
    }
}
