using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 案件历史记录
    /// </summary>
    [SugarTable("drone_caseinfo_single_history")]
    public class DroneCaseInfoSingleHistory
    {
        public DroneCaseInfoSingleHistory()
        {
        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string newid { get; set; }

        public string Id { get; set; }

        /// <summary>
        /// Desc:案件编号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string case_no { get; set; }

        /// <summary>
        /// Desc:案件名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string case_name { get; set; }

        /// <summary>
        /// Desc:案件描述
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string case_description { get; set; }

        /// <summary>
        /// Desc:开始时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? start_time { get; set; }

        /// <summary>
        /// Desc:结束时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? end_time { get; set; }

        /// <summary>
        /// Desc:地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string address { get; set; }

        /// <summary>
        /// Desc:经度
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? lng { get; set; }

        /// <summary>
        /// Desc:纬度
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? lat { get; set; }

        /// <summary>
        /// Desc:类型
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string typeid { get; set; }

        /// <summary>
        /// Desc:类型
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string typename { get; set; }

        /// <summary>
        /// Desc:处理状态 0 1 2 3 4
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? handle_status_id { get; set; }

        /// <summary>
        /// Desc:处理状态 0待接收1待判定2待整改3待审核4已完成
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string handle_status_name { get; set; }

        /// <summary>
        /// Desc:案件状态
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string case_status_id { get; set; }

        /// <summary>
        /// Desc:案件状态
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string case_status_name { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? createtime { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string createuser { get; set; }

        /// <summary>
        /// Desc:无人机编号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string drone_no { get; set; }

        /// <summary>
        /// Desc:案件处理人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string deal_userid { get; set; }

        /// <summary>
        /// Desc:案件处理人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string deal_username { get; set; }

        /// <summary>
        /// Desc:创建人姓名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string createusername { get; set; }

        /// <summary>
        /// Desc:是否删除
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_delete { get; set; }

        /// <summary>
        /// Desc:县
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string countyid { get; set; }

        /// <summary>
        /// Desc:县
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string countyname { get; set; }

        /// <summary>
        /// Desc:镇
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string streetid { get; set; }

        /// <summary>
        /// Desc:镇
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string streetname { get; set; }

        /// <summary>
        /// Desc:村
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string communityid { get; set; }

        /// <summary>
        /// Desc:村
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string communityname { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string remark { get; set; }

        /// <summary>
        /// Desc:是否关闭
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_closed { get; set; }

        /// <summary>
        /// Desc:面积
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string area { get; set; }

        /// <summary>
        /// Desc:是否违法(0-合法，1-违法，2-其他)
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_illegal { get; set; }

        /// <summary>
        /// Desc:关闭人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string close_user { get; set; }

        /// <summary>
        /// Desc:关闭时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? close_time { get; set; }

        /// <summary>
        /// Desc:判读人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string identification_user { get; set; }

        /// <summary>
        /// Desc:判读时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? identification_time { get; set; }

        /// <summary>
        /// Desc:是否判读 (0未判读 1已判读 99已关闭)
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_intact { get; set; }

        /// <summary>
        /// Desc:关闭人id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string close_userid { get; set; }

        /// <summary>
        /// Desc:判读人id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string identification_userid { get; set; }

        /// <summary>
        /// Desc:审核人id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string verifyuserid { get; set; }

        /// <summary>
        /// Desc:审核人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string verifyuser { get; set; }

        /// <summary>
        /// Desc:审核时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? verifytime { get; set; }

        /// <summary>
        /// Desc:是否改进
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_improve { get; set; }

        /// <summary>
        /// Desc:改进原因
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string improve_reason { get; set; }

        /// <summary>
        /// Desc:是否分发
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_dispense { get; set; }

        /// <summary>
        /// Desc:分发人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string dispense_userid { get; set; }

        /// <summary>
        /// Desc:分发时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? dispense_time { get; set; }

        /// <summary>
        /// Desc:分发人姓名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string dispense_username { get; set; }

        /// <summary>
        /// Desc:审核状态
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? verifystatus { get; set; }

        /// <summary>
        /// Desc:审核状态
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string verifystatusname { get; set; }

        /// <summary>
        /// Desc:是否已查看（0未查看，1已查看）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_checked { get; set; }

        /// <summary>
        /// Desc:处理时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? deal_time { get; set; }

        /// <summary>
        /// Desc:是否退回
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_drawback { get; set; }

        /// <summary>
        /// Desc:填报人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string examiner_id { get; set; }

        /// <summary>
        /// Desc:填报人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string examiner_name { get; set; }

        /// <summary>
        /// Desc:填报时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? examine_time { get; set; }

        /// <summary>
        /// Desc:整改措施（0拆除复耕1补办手续）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string measure_name { get; set; }

        /// <summary>
        /// Desc:照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string casepic { get; set; }

        /// <summary>
        /// Desc:处理意见
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string opinion { get; set; }

        /// <summary>
        /// Desc:处理结果
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? result { get; set; }

        /// <summary>
        /// Desc:处理方式（0立案1非立案2移交其他部门处理3未处理）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string result_name { get; set; }

        /// <summary>
        /// Desc:处理意见
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string opinion_name { get; set; }

        /// <summary>
        /// Desc:处理时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? handletime { get; set; }

        /// <summary>
        /// Desc:处理人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string handleuser { get; set; }

        /// <summary>
        /// Desc:处理姓名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string handleusername { get; set; }

        /// <summary>
        /// Desc:是否协办
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_assist { get; set; }

        /// <summary>
        /// Desc:处理措施
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string measure_name_deal { get; set; }

        /// <summary>
        /// Desc:其他实际用途
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string qita_use_to { get; set; }

        /// <summary>
        /// Desc:违法联系人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string illegal_contact { get; set; }

        /// <summary>
        /// Desc:违法人身份证号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string illegal_shenfenzhenghao { get; set; }

        /// <summary>
        /// Desc:查处类型
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? investigation_type { get; set; }

        /// <summary>
        /// Desc:查处结果
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string investigation_result { get; set; }

        /// <summary>
        /// Desc:立案号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string registr_number { get; set; }

        /// <summary>
        /// Desc:0建设中 1已建成
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_build_complete { get; set; }

        /// <summary>
        /// Desc:实际用途
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string actual_use_to { get; set; }

        /// <summary>
        /// Desc:办理人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string transactor_id { get; set; }

        /// <summary>
        /// Desc:办理人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string transactor_name { get; set; }

        /// <summary>
        /// Desc:办理时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? transact_time { get; set; }

        /// <summary>
        /// Desc:图斑id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string geomid { get; set; }

        /// <summary>
        /// Desc:农用地面积
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string nongyongdi_area { get; set; }

        /// <summary>
        /// Desc:耕地面积
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string gengdi_area { get; set; }

        /// <summary>
        /// Desc:永久基本农田面积
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string yongjiujibennongtian_area { get; set; }

        /// <summary>
        /// Desc:重点区域面积
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string zhongdianquyu_area { get; set; }

        /// <summary>
        /// Desc:生态保护红线面积
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string shengtaibaohuhongxian_area { get; set; }

        /// <summary>
        /// Desc:国土空间规划面积
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string guotukongjianguihua_area { get; set; }


        /// <summary>
        /// Desc:附件
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string fujian { get; set; }

        /// <summary>
        /// Desc:接收人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string jieshou_people { get; set; }

        /// <summary>
        /// Desc:接收时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string jieshou_time { get; set; }

        /// <summary>
        /// Desc:判定依据说明
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string pandingyijushuoming { get; set; }

        /// <summary>
        /// Desc:项目名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string xiangmumc { get; set; }

        /// <summary>
        /// Desc:项目主体
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string xiangmuzhuti { get; set; }

        /// <summary>
        /// Desc:违法类型（0非农化1非粮化）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? weifaleixing { get; set; }

        /// <summary>
        /// Desc:验收表
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string yanshoubiao { get; set; }

        /// <summary>
        /// Desc:整改附件
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string zhenggaifujian { get; set; }

        /// <summary>
        /// Desc:拆除复耕后照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string chaichufugenghoupic { get; set; }

        /// <summary>
        /// Desc:是否接收
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_jieshou { get; set; }

        /// <summary>
        /// Desc:案件照片
        /// Default:''::character varying
        /// Nullable:True
        /// </summary>           
        public string anjianzhaopian { get; set; }
        /// <summary>
        /// 标注类型  在建 已建成 持续变化
        /// </summary>
        public string is_build_name { get; set; }

        public string tubanlaiyuan { get; set; }
        public string picihao { get; set; }
        /// <summary>
        /// Desc:类型二级分类id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string sec_typeid { get; set; }

        /// <summary>
        /// Desc:类型二级分类名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string sec_typename { get; set; }

        /// <summary>
        /// Desc:类型三级分类id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string thr_typeid { get; set; }

        /// <summary>
        /// Desc:类型三级分类名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string thr_typename { get; set; }
        [SugarColumn(IsIgnore = true)]
        public string geometry { get; set; }

        public int is_split { get; set; }
        /// <summary>
        /// 原始案件编号
        /// </summary>
        public string original_case_no { get; set; }
        /// <summary>
        /// 记录时间
        /// </summary>
        public DateTime recordingtime { get; set; }
        /// <summary>
        /// 记录人
        /// </summary>
        public string recordingpeople { get; set; }
        /// <summary>
        /// 复提说明
        /// </summary>
        public string resubmitremark { get; set; }
    }
}
