MeiRiYiCheng_1_old/YBDevice.Entity/DataModel/YB_nUserResult.cs

59 lines
1.8 KiB
C#

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_nUserResult", TableDescription = "测量记录扩展", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
public class YB_nUserResult
{
/// <summary>
/// 主键,记录ID
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public Guid Id { get; set; }
/// <summary>
/// 粉丝ID
/// </summary>
[SugarColumn(ColumnDescription = "粉丝ID", IsNullable = true)]
public Guid? FansId { get; set; }
/// <summary>
/// 设备类型
/// </summary>
[SugarColumn(ColumnDescription = "设备类型", IndexGroupNameList = new string[] { "index_devtype" })]
public int DevType { get; set; }
/// <summary>
/// 家庭成员ID
/// </summary>
[SugarColumn(ColumnDescription = "家庭成员ID", IndexGroupNameList = new string[] { "index_familyid" })]
public int FamilyId { get; set; }
/// <summary>
/// 用户ID
/// </summary>
[SugarColumn(ColumnDescription = "用户ID")]
public int UserId { get; set; }
/// <summary>
/// 记录状态,1-正常,0-删除
/// </summary>
[SugarColumn(ColumnDescription = "记录状态,1-正常,0-删除", IsNullable = true,DefaultValue ="1")]
public int Status { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnDescription = "创建时间", IndexGroupNameList = new string[] { "index_createtime" })]
public DateTime CreateTime { get; set; }
}
}