using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YBDevice.Entity
{
///
/// 用户测量记录
///
[SugarTable("YB_nUserResult", TableDescription = "测量记录扩展", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
public class YB_nUserResult
{
///
/// 主键,记录ID
///
[SugarColumn(IsPrimaryKey = true)]
public Guid Id { get; set; }
///
/// 粉丝ID
///
[SugarColumn(ColumnDescription = "粉丝ID", IsNullable = true)]
public Guid? FansId { get; set; }
///
/// 设备类型
///
[SugarColumn(ColumnDescription = "设备类型", IndexGroupNameList = new string[] { "index_devtype" })]
public int DevType { get; set; }
///
/// 家庭成员ID
///
[SugarColumn(ColumnDescription = "家庭成员ID", IndexGroupNameList = new string[] { "index_familyid" })]
public int FamilyId { get; set; }
///
/// 用户ID
///
[SugarColumn(ColumnDescription = "用户ID")]
public int UserId { get; set; }
///
/// 记录状态,1-正常,0-删除
///
[SugarColumn(ColumnDescription = "记录状态,1-正常,0-删除", IsNullable = true,DefaultValue ="1")]
public int Status { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnDescription = "创建时间", IndexGroupNameList = new string[] { "index_createtime" })]
public DateTime CreateTime { get; set; }
}
}