using LJLib.DAL.SQL;
using System;
using System.Collections.Generic;

namespace JLHHJSvr.Com.Model
{
    [PK(new[] { "taskid" })]
    public sealed class u_schedule_task
    {
        public int taskid { get; set; }
        public string task_type { get; set; }
        public int run_mode { get; set; }
        public DateTime? schedule_time { get; set; }
        public int status { get; set; }
        public int total_count { get; set; }
        public int success_count { get; set; }
        public int fail_count { get; set; }
        public int skip_count { get; set; }
        public string request_json { get; set; }
        public string log_msg { get; set; }
        public string create_emp { get; set; }
        public DateTime create_time { get; set; }
        public DateTime? start_time { get; set; }
        public DateTime? end_time { get; set; }
        public List<u_schedule_task_mx> mxList { get; set; }
    }

    [PK(new[] { "taskid", "printid" })]
    public sealed class u_schedule_task_mx
    {
        public int taskid { get; set; }
        public int printid { get; set; }
        public string biz_type { get; set; }
        public int biz_id { get; set; }
        public string biz_code { get; set; }
        public string biz_name { get; set; }
        public int status { get; set; }
        public string request_json { get; set; }
        public string result_json { get; set; }
        public string err_msg { get; set; }
        public DateTime? start_time { get; set; }
        public DateTime? end_time { get; set; }
    }
}
