48 lines
1.5 KiB
C#
48 lines
1.5 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace YBDevice.Entity.DataModel.ThirdOpen
|
|
{
|
|
/// <summary>
|
|
/// 用户数据
|
|
/// </summary>
|
|
[SugarTable("T_UserData", TableDescription = "用户数据", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
|
|
public class T_UserData
|
|
{
|
|
/// <summary>
|
|
/// 主键,用户ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
public Guid Id { get; set; }
|
|
/// <summary>
|
|
/// 身高值,CM
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "身高值,CM", ColumnDataType = "decimal(18,2)")]
|
|
public decimal Height { get; set; }
|
|
/// <summary>
|
|
/// 体重,CM
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "体重,CM", ColumnDataType = "decimal(18,2)")]
|
|
public decimal Weight { get; set; }
|
|
/// <summary>
|
|
/// 性别,1-男,2-女
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "性别,1-男,2-女")]
|
|
public int Sex { get; set; }
|
|
/// <summary>
|
|
/// 出生年月
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "出生年月",IsNullable =true)]
|
|
public DateTime? Brithday { get; set; }
|
|
/// <summary>
|
|
/// 最近记录时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "最近记录时间",IsNullable =true)]
|
|
public DateTime? LastResultTime { get; set; }
|
|
}
|
|
}
|