using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace OpenAuth.Repository.Domain
{
    ///<summary>
    ///设施农用地主表
    ///</summary>
    [SugarTable("drone_ssnyd")]
    public partial class DroneSsnyd
    {
        public DroneSsnyd()
        {
        }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

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

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

        /// <summary>
        /// Desc:1	开工核查	2	开工问题整改	3	建中核查	4	建中问题整改	5	完工核查	6	完工问题整改	7	日常监管	8	监管问题整改	9	现场复核	99	项目终止	98	项目移交	
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? handle_status_id { get; set; }

        /// <summary>
        /// Desc:处理状态 	1	开工核查	2	开工问题整改	3	建中核查	4	建中问题整改	5	完工核查	6	完工问题整改	7	日常监管	8	监管问题整改	9	现场复核	99	项目终止	98	项目移交	
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string handle_status_name { get; set; }

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

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string createuser { 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:图斑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 picihao { get; set; }

        /// <summary>
        /// Desc:是否完成（后续删掉）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_build_complete { 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; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public int? is_split { get; set; }

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

        /// <summary>
        /// Desc:同步时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? synchronoustime { get; set; }

        /// <summary>
        /// Desc:前时相
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? pre_phase_time { get; set; }

        /// <summary>
        /// Desc:后时相
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? later_phase_time { get; set; }

        /// <summary>
        /// Desc:前时相 照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string pre_phase_img { get; set; }

        /// <summary>
        /// Desc:后时相 照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string later_phase_img { get; set; }

        /// <summary>
        /// Desc:关闭原因
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string close_reason { get; set; }

        /// <summary>
        /// Desc:发生时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string fashengshijian { get; set; }

        /// <summary>
        /// Desc:项目编号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string xiangmu_no { get; set; }

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

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

        /// <summary>
        /// Desc:行政区划
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string xingzhengquhua { get; set; }

        /// <summary>
        /// Desc:权利人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string quanliren { get; set; }

        /// <summary>
        /// Desc:项目当前用途
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string xiangmu_yt { get; set; }

        /// <summary>
        /// Desc:设施农业申请用地面积(公顷)
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? shenqing_area { get; set; }

        /// <summary>
        /// Desc:生产设施用地(公顷)
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? shengchan_area { get; set; }

        /// <summary>
        /// Desc:辅助设施用地(公顷)
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? fuzhu_area { get; set; }

        /// <summary>
        /// Desc:创建时间-下发时间
        /// Default:now()
        /// Nullable:True
        /// </summary>           
        public DateTime? xiafatime { get; set; }

        /// <summary>
        /// Desc:开工-是否存在问题
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string iswenti_kg { get; set; }

        /// <summary>
        /// Desc:开工-问题类型（改变用途、超范围建设、其他）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string wentileixing_kg { get; set; }

        /// <summary>
        /// Desc:开工-其他情况说明
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string qtqksm_kg { get; set; }

        /// <summary>
        /// Desc:开工-整改方式（恢复原备案用途、移交执法终止备案、拆除复耕、拆除超范围建筑物）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string zgfs_kg { get; set; }

        /// <summary>
        /// Desc:开工-整改期限
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? zgqx_kg { get; set; }

        /// <summary>
        /// Desc:开工-核查人员
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string hechauser_kg { get; set; }

        /// <summary>
        /// Desc:开工-核查时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? hechatime_kg { get; set; }

        /// <summary>
        /// Desc:开工-现场外景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string wjzp_kg { get; set; }

        /// <summary>
        /// Desc:开工-现场内景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string njzp_kg { get; set; }

        /// <summary>
        /// Desc:建中-是否存在问题
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string iswenti_jz { get; set; }

        /// <summary>
        /// Desc:建中-问题类型（改变用途、超范围建设、其他）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string wentileixing_jz { get; set; }

        /// <summary>
        /// Desc:建中-其他情况说明
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string qtqksm_jz { get; set; }

        /// <summary>
        /// Desc:建中-整改方式（恢复原备案用途、移交执法终止备案、拆除复耕、拆除超范围建筑物）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string zgfs_jz { get; set; }

        /// <summary>
        /// Desc:建中-整改期限
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? zgqx_jz { get; set; }

        /// <summary>
        /// Desc:建中-核查人员
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string hechauser_jz { get; set; }

        /// <summary>
        /// Desc:建中-核查时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? hechatime_jz { get; set; }

        /// <summary>
        /// Desc:建中-现场外景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string wjzp_jz { get; set; }

        /// <summary>
        /// Desc:建中-现场内景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string njzp_jz { get; set; }

        /// <summary>
        /// Desc:完工-是否存在问题
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string iswenti_wg { get; set; }

        /// <summary>
        /// Desc:完工-问题类型（改变用途、超范围建设、其他）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string wentileixing_wg { get; set; }

        /// <summary>
        /// Desc:完工-其他情况说明
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string qtqksm_wg { get; set; }

        /// <summary>
        /// Desc:完工-整改方式（恢复原备案用途、移交执法终止备案、拆除复耕、拆除超范围建筑物）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string zgfs_wg { get; set; }

        /// <summary>
        /// Desc:完工-整改期限
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? zgqx_wg { get; set; }

        /// <summary>
        /// Desc:完工-核查人员
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string hechauser_wg { get; set; }

        /// <summary>
        /// Desc:完工-核查时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? hechatime_wg { get; set; }

        /// <summary>
        /// Desc:完工-现场外景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string wjzp_wg { get; set; }

        /// <summary>
        /// Desc:完工-现场内景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string njzp_wg { get; set; }

        /// <summary>
        /// Desc:完工整改-整改方式（恢复原备案用途、移交执法终止备案、拆除复耕、拆除超范围建筑物）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string zgfs_wgzg { get; set; }

        /// <summary>
        /// Desc:完工整改-核查人员
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string hechauser_wgzg { get; set; }

        /// <summary>
        /// Desc:完工整改-核查时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? hechatime_wgzg { get; set; }

        /// <summary>
        /// Desc:完工整改-现场外景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string wjzp_wgzg { get; set; }

        /// <summary>
        /// Desc:完工整改-现场内景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string njzp_wgzg { get; set; }

        /// <summary>
        /// Desc:建中整改-整改方式（恢复原备案用途、移交执法终止备案、拆除复耕、拆除超范围建筑物）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string zgfs_jzzg { get; set; }

        /// <summary>
        /// Desc:建中整改-核查人员
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string hechauser_jzzg { get; set; }

        /// <summary>
        /// Desc:建中整改-核查时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? hechatime_jzzg { get; set; }

        /// <summary>
        /// Desc:建中整改-现场外景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string wjzp_jzzg { get; set; }

        /// <summary>
        /// Desc:建中整改-现场内景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string njzp_jzzg { get; set; }

        /// <summary>
        /// Desc:开工整改-整改方式（恢复原备案用途、移交执法终止备案、拆除复耕、拆除超范围建筑物）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string zgfs_kgzg { get; set; }

        /// <summary>
        /// Desc:开工整改-核查人员
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string hechauser_kgzg { get; set; }

        /// <summary>
        /// Desc:开工整改-核查时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? hechatime_kgzg { get; set; }

        /// <summary>
        /// Desc:开工整改-现场外景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string wjzp_kgzg { get; set; }

        /// <summary>
        /// Desc:开工整改-现场内景照片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string njzp_kgzg { get; set; }

        /// <summary>
        /// Desc:开工-附件
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string fujian_kg { get; set; }

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

        /// <summary>
        /// Desc:建中-附件
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string fujian_jz { get; set; }

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

        /// <summary>
        /// Desc:完工-附件
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string fujian_wg { get; set; }

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

        /// <summary>
        /// Desc:移交部门
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string yijiaobumen { get; set; }

        /// <summary>
        /// Desc:移交原因
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string yijiaoyuanyin { get; set; }

        /// <summary>
        /// Desc:移交人员
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string yijiaorenyuan { get; set; }

        /// <summary>
        /// Desc:移交时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? yijiaoshijian { get; set; }


        [SugarColumn(IsIgnore = true)] public List<DroneSsnydRcjg> RcjgList { get; set; }

        public string lianxifangshi { get; set; }
        public DateTime? beianriqi { get; set; }
        public string jianzhujiegou { get; set; }
    }
}