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

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


        /// <summary>
        /// 
        /// </summary>
        public int task_template_id { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string platform_type { get; set; }

        public int platform_index { get; set; }


        public int datatype { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string account { get; set; }

        public string pwd { get; set; }

        public string token { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string website { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string urlpath { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public DateTime createtime { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public DateTime lastupdatetime { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 文件下载地址
        /// </summary>
        public string fileurl { get; set; }

    }

    /// <summary>
    /// 自动下载任务状态
    /// </summary>
    public enum Enum_TaskStatus
    {
        未认领 = 0,
        任务执行失败 = 1,
        已认领 = 2,
        执行成功 = 3
    }
}
