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; }

    }
}
