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.分类 3. 仓库计算)
        /// </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 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,
            产品分类 = 2,
            仓库 = 3
        }
    }


}
