using SqlSugar;
using System;
namespace YBDevice.Entity
{
///
/// 家庭成员统计数据,按月统计,取每月的最高体重和身高
///
[SugarTable("YB_FamilyReportData", TableDescription = "家庭成员统计数据,按月统计,取每月的最高体重和身高", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
public class YB_FamilyReportData
{
///
///
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public System.Int32 Id { get; set; }
///
/// 家庭成员ID
///
[SugarColumn(ColumnDescription = "家庭成员ID",IndexGroupNameList =new string[] { "index_familyid"})]
public System.Int32 FamilyId { get; set; }
///
/// 身高,CM
///
[SugarColumn(ColumnDescription = "身高,CM", ColumnDataType = "decimal(10,2)")]
public System.Decimal Height { get; set; }
///
/// 体重,KG
///
[SugarColumn(ColumnDescription = "体重,KG", ColumnDataType = "decimal(18,2)")]
public System.Decimal Weight { get; set; }
///
/// 头围,CM
///
[SugarColumn(ColumnDescription = "头围,CM", ColumnDataType = "decimal(18,2)")]
public System.Decimal Head { get; set; }
///
/// 月度最近体重的测量时间
///
[SugarColumn(ColumnDescription = "月度最近体重的测量时间")]
public DateTime? LastWeightTime { get; set; }
///
/// 设备类型
///
[SugarColumn(ColumnDescription = "设备类型")]
public int DevType { get; set; }
///
/// 统计时间
///
[SugarColumn(ColumnDescription = "统计时间")]
public System.DateTime CreateTime { get; set; }
}
}