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

namespace Bailun.DC.Models
{
    public class taskcenter_template
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }


        /// <summary>
        /// 下载类型,1：物流发货明细
        /// </summary>
        public int download_type { get; set; }


        /// <summary>
        /// 启动频率 指定月份启动，如果是每天启动的则填0即可
        /// </summary>
        public int start_frequency_month { get; set; }


        /// <summary>
        /// 启动频率 每月的几号启动，如果是每小时启动则填0即可
        /// </summary>
        public int start_frequency_day { get; set; }


        /// <summary>
        /// 启动频率 每天的几点启动
        /// </summary>
        public int start_frequency_hour { get; set; }

        /// <summary>
        /// 任务启动规则，cron规则
        /// </summary>
        public string cron { get; set; }

        /// <summary>
        /// 是否启动模版，1：启用，0：停止
        /// </summary>
        public int status { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string note { get; set; }

        public DateTime lastupdatetime { get; set; }

        public int lastupdateuserid { get; set; }

        public string lastupdateusername { get; set; }

    }

    /// <summary>
    /// 自动下载模版的下载类型
    /// </summary>
    public enum Enum_download_type
    { 
        物流账单=1,
        税务流水=2,

    }
}
