package com.jwipc.finance.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SupplierPayImportDTO {
    private Head head;
    private KuanItem fuKuanItem;
    private ZongItem huiZongItem;
    @Data
    public static class Head {
        private String fd_srmType;
        private String fd_shenQingRenXingMing;
        private String ProcessId;
        private String fd_shenQingDanHao;
        private String fd_jingBanRen;
        private String fd_shiFuTiQianFuKuan;
        private String fd_fuKuanFangShi;
        private String fd_fuKuanLeiXing;
        private String fd_chengDuiQiXian;
        private BigDecimal fd_benCiFuKuanHeJiJinE;
        private String fd_daXieJinE;
        private String fd_beiZhu;
        private String fd_fuKuanGongSi;
        private String fd_fuKuanGongSiBianMa;
        private String fd_gongYingShangDaiMa;
        private String fd_baoGuanGongSi;
        private String fd_gongSiDaiMa;
        private String fd_biZhong;
        private String fd_pageUrl;
    }

    @Data
    public static class KuanItem {
        private List<Item> item;
        @Data
        public static class Item {
            private String fd_caiGouDuiZhangDanHao;
            private String fd_duiZhangYueFen;
            private BigDecimal fd_duiZhangDanJinE;
            private BigDecimal fd_weiFuJinE;
            private BigDecimal fd_benCiFuKuanJinE;
            private String fd_sapCaiGouDuiZhangDanHao;
            private BigDecimal fd_huaiZhangHeXiao;
            private BigDecimal fd_zheKouJinE;
            private BigDecimal fd_weiChaDiaoZheng;
            private BigDecimal fd_benCiWeiFu;
            private String fd_pingZhengHao;
            private String fd_gongYingShangDaiMa1;
            private String fd_gongYingShang1;
            private String fd_shouKuanDanWei1;
            private String fd_kaiHuYinXing1;
            private String fd_yinXingZhangHao1;
            private String fd_fuKuanTiaoJian1;
            private String fd_yinHangHao;
            private String fd_yinHangCode;
            private String fd_daoQiRi;
        }
    }

    @Data
    public static class ZongItem {
        private List<Item> item;
        @Data
        public static class Item {
            private String fd_gongYingShangHuiZongDaiMa;
            private String fd_gongYingShangHuiZongShouKua;
            private String fd_gongYingShangHuiZongKaiHuYi;
            private String fd_gongYingShangHuiZongYinXing;
            private BigDecimal fd_benCiWeiFuHeJi;
            private BigDecimal fd_benCiFuKuanJinEHeJi;
            private String fd_yinHangHao;
            private String fd_yinHangCode;
            //本次付款金额是否超期
            private String fd_benCiFuKuanJinEChQi;
            //付款计划金额
            private BigDecimal fd_fuKuanPlanJinE;
        }
    }
}
