using System;
using System.Collections.Generic;
using System.Text;

namespace AutoTurnOver.Models.Report
{
    public class transfer_profit_modal_dto
    {
        /// <summary>
        /// 实际建议周转数
        /// </summary>
        public int quantity_final_advise;

        /// <summary>
        /// 30天的预计周转数
        /// </summary>
        public int quantity_final_advise_30;

        /// <summary>
        /// 实际周转数
        /// </summary>
        public int turnover;
        /// <summary>
        /// 调拨+采购在途
        /// </summary>
        public int quantity_transfer;
        public int quantity_purchase;
        /// <summary>
        /// 实际在库
        /// </summary>
        public int dc_stock_data;

        /// <summary>
        /// 实际建议周转金额
        /// </summary>
        public decimal quantity_final_advise_amount;
        /// <summary>
        /// 30天的预计周转金额
        /// </summary>
        public decimal quantity_final_advise_amount_30;

        /// <summary>
        /// 实际周转金额
        /// </summary>
        public decimal turnover_amount;

        /// <summary>
        /// 实际周转数
        /// </summary>
        public decimal purchase_quantity;

        /// <summary>
        /// 实际运费单价
        /// </summary>
        public decimal freight_unit_price;

        /// <summary>
        /// 实际运费计算公式
        /// </summary>
        public string freight_unit_price_formula;

        /// <summary>
        /// 30天实际销量
        /// </summary>
        public decimal sales30;

        /// <summary>
        /// 实际周转运费
        /// </summary>
        public decimal freight_price;

        /// <summary>
        /// 30 天的实际周转运费
        /// </summary>
        public decimal freight_price_30;
        /// <summary>
        /// 海运周转数（推荐海运）
        /// </summary>
        public int quantity_final_advise_ocean;
        /// <summary>
        /// 调拨周期
        /// </summary>
        public int quantity_final_advise_ocean_transfer_days;
        /// <summary>
        /// 海运供应链长度销量
        /// </summary>
        public dynamic turnover_sales_ocean;


        /// <summary>
        /// 海运周转运费
        /// </summary>
        public decimal freight_price_ocean;
        /// <summary>
        /// 海运推荐物流
        /// </summary>
        public string cean_line_name;
        /// <summary>
        /// 空运推荐物流
        /// </summary>
        public string air_line_name;
        /// <summary>
        /// 海运推荐物流单价
        /// </summary>
        public decimal cean_line_freight_unit_price;
        /// <summary>
        /// 空运推荐物流单价
        /// </summary>
        public decimal air_line_freight_unit_price;
        /// <summary>
        /// 产品重量
        /// </summary>
        public decimal weight;
        /// <summary>
        /// 30天海运周转运费 海运-实际差值
        /// </summary>
        public decimal freight_price_ocean_30_difference;
        public decimal freight_price_air_30_difference;
        /// <summary>
        /// 30天海运周转运费
        /// </summary>
        public decimal freight_price_ocean_30;

        /// <summary>
        /// 海运运费单价
        /// </summary>
        public decimal freight_unit_price_ocean;

        /// <summary>
        /// 空运运费单价
        /// </summary>
        public decimal freight_unit_price_air;

        /// <summary>
        /// 空运周转数（推荐空运）
        /// </summary>
        public decimal quantity_final_advise_air;
        /// <summary>
        /// 空运供应链销量
        /// </summary>
        public decimal turnover_sales_air { get; set; }
        /// <summary>
        /// 实际-海运周转运费差值
        /// </summary>
        public decimal freight_price_ocean_difference_amount;
        /// <summary>
        ///  实际-海运周转运费差值 占比
        /// </summary>
        public decimal freight_price_ocean_difference_amount_radio;

        /// <summary>
        /// 空运周转金额
        /// </summary>
        public decimal quantity_final_advise_air_amount;
        /// <summary>
        /// 空运周转运费
        /// </summary>
        public decimal freight_price_air;
        /// <summary>
        /// 30天空运周转运费
        /// </summary>
        public decimal freight_price_air_30;

        /// <summary>
        /// 实际-空运运费差值
        /// </summary>
        public decimal freight_price_air_difference;

        /// <summary>
        /// 海运周转金额
        /// </summary>
        public decimal quantity_final_advise_ocean_amount;

        /// <summary>
        /// 实际-海运周转采购金额差值
        /// </summary>
        public decimal quantity_final_ocean_difference_amount;

        /// <summary>
        /// 实际-空运周转采购金额差值
        /// </summary>
        public decimal quantity_final_air_difference_amount;


        /// <summary>
        /// 海运-空运运费差值
        /// </summary>
        public decimal freight_price_ocean_air_difference;
        /// <summary>
        /// 海运-空运运费差值 占比
        /// </summary>
        public decimal freight_price_ocean_air_difference_radio;

        /// <summary>
        /// 海运-空运周转采购金额差值
        /// </summary>
        public decimal quantity_final__ocean_air_difference_amount;

        /// <summary>
        /// 实际-空运运费差值
        /// </summary>
        public decimal freight_price_air_difference_amount;
        /// <summary>
        /// 实际-空运运费差值 占比
        /// </summary>
        public decimal freight_price_air_difference_amount_radio;
        public int purchase_create_order_days_air;
        public int payment_before_delivery_air;
        public int supplier_delivery_air;
        public int inspection_delivery_days_air;
        public int transfer_delivery_air;
        public decimal abroad_inbound_delivery_air;
        public decimal transfer_bale_delivery_air;
        public int purchase_create_order_days_ocean;
        public int payment_before_delivery_ocean;
        public int supplier_delivery_ocean;
        public int inspection_delivery_days_ocean;
        public int transfer_delivery_ocean;
        public decimal abroad_inbound_delivery_ocean;
        public decimal transfer_bale_delivery_ocean;
        public decimal turnover_sales;
        /// <summary>
        /// 调拨时长总销量
        /// </summary>
        public decimal transfer_sales { get; set; }
        /// <summary>
        /// 调拨时长总销量 （空运）
        /// </summary>
        public decimal transfer_sales_air { get; set; }
        /// <summary>
        /// 调拨时长总销量 （海运）
        /// </summary>
        public decimal transfer_sales_ocean { get; set; }
        public int turnover_days_air;
        public decimal freight_price_air_ocean_30_difference;
        /// <summary>
        /// 安全库存备货天数
        /// </summary>
        public decimal quantity_safe_inventory_days;
        public int turnover_days;

        /// <summary>
        /// 调拨时间段天数 (空运)
        /// </summary>
        public int transfer_days_air { get; set; }

        /// <summary>
        ///  调拨时间段天数 
        /// </summary>
        public int transfer_days { get; set; }
        /// <summary>
        /// 调拨时间段天数 （还要）
        /// </summary>
        public int transfer_days_ocean { get; set; }
        public int purchase_create_order_days;
        public int payment_before_delivery;
        public int supplier_delivery;
        public int inspection_delivery_days;
        public int transfer_delivery;
        public decimal abroad_inbound_delivery;
        public decimal transfer_bale_delivery;

        /// <summary>
        /// 实际建议周转运费
        /// </summary>
        //public decimal quantity_final_advise_freight;

        /// <summary>
        /// 采购单价
        /// </summary>
        public decimal unit_price { get; set; }

        /// <summary>
        /// 安全库存数量
        /// </summary>
        public decimal quantity_safe_inventory { get; set; }

        /// <summary>
        /// 日均加权销量
        /// </summary>
        public decimal daily_weighted_sales { get; set; }

        /// <summary>
        /// 空运周转天数
        /// </summary>
        public decimal turnover_days_ocean { get; set; }
    }
}
