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

namespace OpenAuth.Repository.Domain.FireManagement
{
    /// <summary>
    /// 人员位置表
    /// </summary>
    [SugarTable("fm_userpoint")]
    public class FmUserPoint
    {
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// Lng
        /// </summary>
        public string Lng { get; set; }

        /// <summary>
        /// Lat
        /// </summary>
        public string Lat { get; set; }

        /// <summary>
        /// CreateId
        /// </summary>
        public long CreateId { get; set; }
        /// <summary>
        /// 是否置顶
        /// </summary>
        public int Top { get; set; }
        /// <summary>
        /// 是否是联系人
        /// </summary>
        public int IsContacts { get; set; }
        /// <summary>
        /// 是否在巡查范围之内0-不是 1-是
        /// </summary>
        public int Intype { get; set; }
        /// <summary>
        /// 和上一坐标点的距离
        /// </summary>
        public double Distance { get; set; }
    }
}
