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

namespace AutoTurnOver.Models
{
    /// <summary>
    /// 全链路在途订单
    /// </summary>
    public  class dc_base_full_link_wait_order
    {
        /// <summary>
        /// 
        /// </summary>
        [Description(@"")]
        public int id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Description(@"")]
        public string bailun_sku { get; set; }

      

        /// <summary>
        /// 
        /// </summary>
        [Description(@"")]
        public string warehouse_code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Description(@"")]
        public string bailun_sku_warehouse_code { get; set; }

        /// <summary>
        /// 采购单号
        /// </summary>
        [Description(@"采购单号")]
        public string purchase_no { get; set; }

        /// <summary>
        /// 调拨单号
        /// </summary>
        [Description(@"调拨单号")]
        public string transfer_no { get; set; }

        /// <summary>
        /// 采购单创建时间
        /// </summary>
        [Description(@"采购单创建时间")]
        public DateTime? purchase_create_time { get; set; }

        /// <summary>
        /// 采购单预计到货时间
        /// </summary>
        [Description(@"采购单预计到货时间")]
        public DateTime? purchase_arrivaldate { get; set; }

        /// <summary>
        /// 采购单签收时间
        /// </summary>
        [Description(@"采购单签收时间")]
        public DateTime? purchase_sign_time { get; set; }

        /// <summary>
        /// 采购单入库时间
        /// </summary>
        [Description(@"采购单入库时间")]
        public DateTime? purchase_put_time { get; set; }

        /// <summary>
        /// 采购数量
        /// </summary>
        [Description(@"采购数量")]
        public int? purchase_quantity { get; set; }

        /// <summary>
        /// 已采购到货数量
        /// </summary>
        [Description(@"已采购到货数量")]
        public int? purchase_quantity_arrival { get; set; }

        /// <summary>
        /// 已采购入库数量
        /// </summary>
        [Description(@"已采购入库数量")]
        public int? purchase_quantity_inbound { get; set; }

        /// <summary>
        /// 采购在途数量
        /// </summary>
        [Description(@"采购在途数量")]
        public int? purchase_quantity_not_inbound { get; set; }

        /// <summary>
        /// 采购状态
        /// </summary>
        [Description(@"采购状态")]
        public int? purchase_status { get; set; }

        /// <summary>
        /// 调拨单创建时间
        /// </summary>
        [Description(@"调拨单创建时间")]
        public DateTime? transfer_create_time { get; set; }

        /// <summary>
        /// 调拨在途数量
        /// </summary>
        [Description(@"调拨在途数量")]
        public int? transfer_quantity_not_inbound { get; set; }


        /// <summary>
        /// 调拨方式
        /// </summary>
        [Description(@"调拨方式")]
        public string transfer_transporttype { get; set; }

        /// <summary>
        /// 物流渠道
        /// </summary>
        [Description(@"物流渠道")]
        public string transfer_logistics_name { get; set; }

        /// <summary>
        /// 渠道编码
        /// </summary>
        [Description(@"渠道编码")]
        public string transfer_logistics_code { get; set; }

        /// <summary>
        /// 目标到货时间
        /// </summary>
        [Description(@"目标到货时间")]
        public DateTime? transfer_expectarrivaltime { get; set; }

        /// <summary>
        /// 调拨数量
        /// </summary>
        [Description(@"调拨数量")]
        public int? transfer_quantity { get; set; }

        /// <summary>
        /// 调拨入库数量
        /// </summary>
        [Description(@"调拨入库数量")]
        public int? transfer_put_quantity { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime update_date { get; set; }
        public string transfer_plan_no { get; set; }
        public string transfer_temp_schedule_no { get; set; }
        public string transfer_temp_purchase_no { get; set; }
        public int? transfer_temp_schedule_quantity { get; set; }
        public int? transfer_temp_purchase_quantity { get; set; }
        public int? transfer_plan_quantity { get; set; }
    }


    public class dc_base_full_link_wait_order_temp: dc_base_full_link_wait_order
    {

    }

    public class dc_base_full_link_wait_order_dto: dc_base_full_link_wait_order
    {
        public string warehouse_name { get; set; }
        public string product_title { get; set; }
        public int stock { get; set; }
        public string product_type_desc { get; set; }
        public string buyer_name { get; set; }
        public decimal? history_sevenday_sales { get; set; }
        public decimal? history_fourteenday_sales { get; set; }
        public decimal? history_thirtyday_sales { get; set; }
        public string forecast_type_str { get; set; }
        public string prod_status { get; set; }
        public int? prod_not_distribution_quantity { get; set; }
        public int? prod_distribution_quantity { get; set; }
        public int? prod_quantity { get; set; }
        public DateTime? lms_expectarrivaltime { get; set; }
        public DateTime? lms_sign_time { get; set; }
        public DateTime? lms_put_time { get; set; }
        public DateTime? lms_collect_time { get; set; }
        public DateTime? lms_flight_time { get; set; }
        public DateTime? lms_transport_time { get; set; }
        public DateTime? lms_ascan_time { get; set; }
        public DateTime? lms_arrival_time { get; set; }
        public DateTime? lms_clearance_time { get; set; }
        public DateTime? lms_sail_time { get; set; }
        public DateTime? lms_node_date { get; set; }
        public string lms_node_name { get; set; }
        public string lms_transfer_no { get; set; }
        public string lms_trackingno { get; set; }
    }
}
