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

namespace AutoTurnOver.Models
{
    /// <summary>
    ///  预计到货
    /// </summary>
    public  class dc_estimated_arrival_dto
    {
        /// <summary>
        /// 单号
        /// </summary>
        public string no { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int type { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string type_str
        {
            get
            {
                switch (type)
                {
                    case 1: return "采购单";
                    case 2: return "调拨单";
                    default:return "未知";
                }
            }
        }

        /// <summary>
        /// 预计到货数量
        /// </summary>
        public decimal quantity { get; set; }

        /// <summary>
        /// 原始发货数量
        /// </summary>
        public decimal deliverycount { get; set; }

        /// <summary>
        /// 已入库数量
        /// </summary>
        public decimal storagecount { get; set; }

        /// <summary>
        /// 未入库数量
        /// </summary>
        public decimal transitcount { get; set; }
        public string transporttype { get; set; }

    }
}
