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_cloudtask")]
    public class DroneCloudTask
    {
        public DroneCloudTask() { }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// Desc:图斑id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string GeomId { 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:任务状态 0-查询中，1-查询中，2-查询结束
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int State { get; set; }

        /// <summary>
        /// Desc:查询结果id
        /// Default:
        /// Nullable:True
        /// </summary>
        public string QueryId { get; set; }
        /// <summary>
        /// Desc:案件编号
        /// Default:
        /// Nullable:True
        /// </summary>
        public string CaseNo { get; set; }

        public string CountyName { get; set; }
        
    }
}
