using OpenAuth.App.Request;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.App.Request
{
    /// <summary>
    /// 案件列表
    /// </summary>
    public class QueryCaseInfoListReq : PageReq
    {
        public void Init()
        {
            if (this.handle_status_id < 0) handle_status_id = null;
        }

        /// <summary>
        /// 村id
        /// </summary>
        public string communityname { get; set; }

        /// <summary>
        /// 案件编号
        /// </summary>
        public string case_no { get; set; }

        /// <summary>
        /// 案件类型
        /// </summary>
        public string typeid { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string address { get; set; }

        /// <summary>
        /// 案件描述
        /// </summary>
        public string case_description { get; set; }

        /// <summary>
        /// 是否完整
        /// </summary>
        public int? is_intact { get; set; }

        /// <summary>
        /// 是否关闭
        /// </summary>
        public int? is_closed { get; set; }

        /// <summary>
        /// 是否上报人
        /// </summary>
        public int? is_reporter { get; set; }

        /// <summary>
        /// 是否执法人
        /// </summary>
        public int? is_dealer { get; set; }

        /// <summary>
        /// 是否根据分配案件进行查询
        /// </summary>
        public int? is_dispense { get; set; }

        /// <summary>
        /// 根据接收人处理人权限过滤
        /// </summary>
        public int? dispense_dealer { get; set; }

        /// <summary>
        /// 处理状态
        /// </summary>
        public int? handle_status_id { get; set; }

        /// <summary>
        /// 案件状态
        /// </summary>
        public string case_status_id { get; set; }

        /// <summary>
        /// 上报时间
        /// </summary>
        public DateTime? report_start_time { get; set; }

        /// <summary>
        /// 上报时间
        /// </summary>
        public DateTime? report_end_time { get; set; }

        /// <summary>
        /// 上报人姓名
        /// </summary>
        public string report_name { get; set; }

        /// <summary>
        /// 执行人姓名
        /// </summary>
        public string deal_username { get; set; }

        /// <summary>
        /// 判读时间
        /// </summary>
        public DateTime? identification_start_time { get; set; }

        /// <summary>
        /// 判读时间
        /// </summary>
        public DateTime? identification_end_time { get; set; }

        /// <summary>
        /// 县id
        /// </summary>
        public string countyid { get; set; }

        /// <summary>
        /// 镇id
        /// </summary>
        public string streetid { get; set; }

        /// <summary>
        /// 村id
        /// </summary>
        public string communityid { get; set; }

        /// <summary>
        /// 判读人id
        /// </summary>
        public string identification_userid { get; set; }

        /// <summary>
        /// 判读人
        /// </summary>
        public string identification_user { get; set; }

        /// <summary>
        /// 判读人账号
        /// </summary>
        public string identification_account { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string verify_user { get; set; }

        /// <summary>
        /// 是否违法
        /// </summary>
        public int? is_illegal { get; set; }

        /// <summary>
        /// 是否核销
        /// </summary>
        public int? is_verification { get; set; }

        /// <summary>
        /// 是否退回
        /// </summary>
        public int? is_drawback { get; set; }

        /// <summary>
        /// 是否过滤显示自己的数据
        /// </summary>
        public int? is_back_to_userid { get; set; }

        /// <summary>
        /// 超期时间标识
        /// </summary>
        public int? out_time_flag { get; set; }

        /// <summary>
        /// 是否处理
        /// </summary>
        public int? is_deal { get; set; }

        /// <summary>
        /// 24小时未核查
        /// </summary>
        public int? is_not_deal_hour24 { get; set; }

        /// <summary>
        /// 是否整改完成
        /// </summary>
        public int? is_complete { get; set; }

        /// <summary>
        /// 是否核查
        /// </summary>
        public int? is_examine { get; set; }

        /// <summary>
        /// 处理措施
        /// </summary>
        public string measure_name { get; set; }

        /// <summary>
        /// 处理措施类型
        /// </summary>
        public int? measure_name_type { get; set; }

        /// <summary>
        /// 工作区名称
        /// </summary>
        public string work_area_name { get; set; }

        /// <summary>
        /// 是否审核权限过滤
        /// </summary>
        public int? is_verify_filter { get; set; }

        /// <summary>
        /// 案件标签
        /// </summary>
        public string tagids { get; set; } = "";
    }

    public class QueryDealCaseInfoListReq : PageReq
    {
        public void Init()
        {
            if (this.handle_status_id < 0) handle_status_id = null;
        }

        /// <summary>
        /// 村名称
        /// </summary>
        public string communityname { get; set; }

        /// <summary>
        /// 案件编号
        /// </summary>
        public string case_no { get; set; }

        /// <summary>
        /// 案件类型
        /// </summary>
        public string typeid { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string address { get; set; }

        /// <summary>
        /// 案件描述
        /// </summary>
        public string case_description { get; set; }

        /// <summary>
        /// 处理状态
        /// </summary>
        public int? handle_status_id { get; set; }

        /// <summary>
        /// 案件状态
        /// </summary>
        public string case_status_id { get; set; }

        /// <summary>
        /// 上报时间
        /// </summary>
        public DateTime? report_start_time { get; set; }

        /// <summary>
        /// 上报时间
        /// </summary>
        public DateTime? report_end_time { get; set; }

        /// <summary>
        /// 上报人姓名
        /// </summary>
        public string report_name { get; set; }

        /// <summary>
        /// 执行人姓名
        /// </summary>
        public string deal_username { get; set; }

        /// <summary>
        /// 是否分发
        /// </summary>
        public int? is_dispense { get; set; }

        /// <summary>
        /// 判读时间
        /// </summary>
        public DateTime? identification_start_time { get; set; }

        /// <summary>
        /// 判读时间
        /// </summary>
        public DateTime? identification_end_time { get; set; }

        /// <summary>
        /// 是否违法
        /// </summary>
        public int? is_illegal { get; set; }

        /// <summary>
        /// 是否核销
        /// </summary>
        public int? is_verification { get; set; }

        /// <summary>
        /// 是否退回
        /// </summary>
        public int? is_drawback { get; set; }

        /// <summary>
        /// 是否过滤显示自己的数据
        /// </summary>
        public int? is_back_to_userid { get; set; }

        /// <summary>
        /// 超期时间标识
        /// </summary>
        public int? out_time_flag { get; set; }

        /// <summary>
        /// 是否处理
        /// </summary>
        public int? is_deal { get; set; }

        /// <summary>
        /// 24小时未核查
        /// </summary>
        public int? is_not_deal_hour24 { get; set; }

        /// <summary>
        /// 是否整改完成
        /// </summary>
        public int? is_complete { get; set; }

        /// <summary>
        /// 是否核查
        /// </summary>
        public int? is_examine { get; set; }

        /// <summary>
        /// 处理措施
        /// </summary>
        public string measure_name { get; set; }

        /// <summary>
        /// 工作区名称
        /// </summary>
        public string work_area_name { get; set; }

        /// <summary>
        /// 是否审核权限过滤
        /// </summary>
        public int? is_verify_filter { get; set; }
    }
}
