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

namespace OpenAuth.Repository.Domain
{
    ///<summary>
    ///盗采点打卡信息表
    ///</summary>
    [SugarTable("mi_punch_record")]
    public partial class MiPunchRecord
    {
           public MiPunchRecord(){


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

           /// <summary>
           /// Desc:userid
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long UserId {get;set;}

           /// <summary>
           /// Desc:打卡时间
           /// Default:DateTime.Now
           /// Nullable:True
           /// </summary>           
           public DateTime? PunchTime {get;set;}

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

           /// <summary>
           /// Desc:盗采点id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MinePointId {get;set;}

           /// <summary>
           /// Desc:打卡点状态：正常、异常、违法
           /// Default:'正常'::character varying
           /// Nullable:True
           /// </summary>           
           public short? PunchStatus {get;set;}

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

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

    }
}
