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

namespace YBDevice.Entity
{
    /// <summary>
    /// 用户最近的测量信息
    /// </summary>
    [SugarTable("YB_UserLastData", TableDescription = "用户最近的测量信息", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
    public class YB_UserLastData
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [SugarColumn(ColumnDescription = "用户ID",IsPrimaryKey =true)]
        public int UserId { get; set; }
        /// <summary>
        /// 最近的记录ID
        /// </summary>
        [SugarColumn(ColumnDescription = "最近的记录ID")] 
        public Guid LastResultId { get; set; }
        /// <summary>
        /// 最近的记录时间
        /// </summary>
        [SugarColumn(ColumnDescription = "最近的记录时间")] 
        public DateTime LastResultTime { get; set; }
    }
}
