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

namespace AutoTurnOver.Models
{
    public class dc_auto_config_delivery
    {
        public int id { get; set; }

        public DateTime gmt_create { get; set; }

        public DateTime gmt_modified { get; set; }

        public string variable_code { get; set; }

        public string variable_name { get; set; }

        /// <summary>
        /// 类型(1.仓库编码+SKU ,2.仓库类型+SKU 3. 仓库编码, 4 .仓库类型)
        /// </summary>
        public int type { get; set; }

        public string bl_operator { get; set; }

        public string remark { get; set; }

        /// <summary>
        /// 1启用, 2停用
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 调拨打包
        /// </summary>
        public decimal tranfer_bale { get; set; }

        /// <summary>
        /// 调拨头程
        /// </summary>
        public decimal tranfer_head { get; set; }

        /// <summary>
        /// 调拨入库
        /// </summary>
        public decimal abroad_inbound { get; set; }

        public string bailun_sku { get; set; }

    }

    public class dc_auto_config_delivery_dto : dc_auto_config_delivery
    {

        public string type_str { get { return ((type_enum)type).ToString(); } }

        public enum type_enum
        {
            仓库编码_SKU = 1,
            仓库类型_SKU = 2,
            仓库 = 3,
            仓库类型 = 4
        }

    }


}
