using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YBDevice.Entity;
namespace YBDevice.NApi.Application.BusinessClient
{
///
/// 查询用户测量记录
///
public class MeasureUserQueryDto
{
///
/// 开始时间
///
public string starttime { get; set; }
///
/// 结束时间
///
public string endtime { get; set; }
///
/// 测量记录ID
///
public Guid id { get; set; }
}
///
/// 用户体重记录
///
public class MeasureUserWeightDto
{
///
/// 体重
///
public decimal weight { get; set; }
///
/// 时间
///
public string time { get; set; }
}
///
/// 用户测量记录
///
public class MeasureUserListDto: MeasureDto
{
///
/// 粉丝ID
///
public string fansid { get; set; }
///
/// 用户昵称
///
public string headimg { get; set; }
///
/// 用户昵称
///
public string nickname { get; set; }
///
/// 用户手机号
///
public string phone { get; set; }
///
/// 设备序列号
///
public string facecode { get; set; }
///
/// 设备名称
///
public string devname { get; set; }
///
/// 设备ID
///
public int equid { get; set; }
///
/// 性别,1-男,2-女,0-未知
///
public GenderType sex { get; set; }
///
/// 记录ID
///
public Guid id { get; set; }
///
/// 注册用户id
///
public int userid { get; set; }
///
/// 家庭成员id
///
public int familyid { get; set; }
///
/// 1-四电极,2-八电极
///
public int Type { get; set; }
///
/// 客户ID
///
public int BusinessId { get; set; } = 0;
///
/// 客户名称
///
public string BusinessName { get; set; } = "";
}
///
/// 测量记录
///
public class MeasureDto
{
///
/// 体质类型
///
public string BodyType { get; set; } = "";
///
/// 测量时间
///
public string createtime { get; set; }
///
/// 身高
///
public decimal Height { get; set; }
///
/// 脂肪率
///
public decimal fat_r { get; set; }
///
/// 肌肉率
///
public decimal muscle { get; set; }
///
/// 水份
///
public decimal water { get; set; }
///
/// 骨重
///
public decimal bone { get; set; }
///
/// 基础代谢
///
public decimal kcal { get; set; }
///
/// 脂肪重量
///
public decimal fat_w { get; set; }
///
/// 内脂
///
public decimal visceral { get; set; }
///
/// 蛋白质
///
public decimal protein { get; set; }
///
/// 体龄
///
public int bodyage { get; set; }
///
/// bmi
///
public decimal bmi { get; set; }
///
/// 分数
///
public decimal cmi { get; set; }
///
/// 皮下脂肪
///
public decimal sfr { get; set; }
///
/// 肌肉量
///
public decimal muscleval { get; set; }
///
/// 蛋白量
///
public decimal proteinval { get; set; }
///
/// 去脂体重
///
public decimal lbm { get; set; }
///
/// 体型,参考体型枚举
///
public string body { get; set; }
///
/// 肥胖等级,参考等级枚举
///
public string fatlevel { get; set; }
///
/// 体重
///
public decimal weight { get; set; }
///
/// 年龄
///
public string Age { get; set; }
///
/// 月龄
///
public int Month { get; set; }
///
/// 躯干肌肉率,%
///
public decimal muscleratetrunk { get; set; } = 0;
///
/// 左脚肌肉率,%
///
public decimal musclerateleftleg { get; set; } = 0;
///
/// 右脚肌肉率,%
///
public decimal muscleraterightleg { get; set; } = 0;
///
/// 左手肌肉率,%
///
public decimal musclerateleftarm { get; set; } = 0;
///
/// 右手肌肉率,%
///
public decimal muscleraterightarm { get; set; } = 0;
///
/// 躯干脂肪率,%
///
public decimal bodyfatraterunk { get; set; } = 0;
///
/// 左脚脂肪率,%
///
public decimal bodyfatrateleftleg { get; set; } = 0;
///
/// 右脚脂肪率,%
///
public decimal bodyfatraterightleg { get; set; } = 0;
///
/// 左手脂肪率,%
///
public decimal bodyfatrateleftarm { get; set; } = 0;
///
/// 右手脂肪率,%
///
public decimal bodyfatraterightarm { get; set; } = 0;
///
/// 躯干肌肉量,kg
///
public decimal musclekgtrunk { get; set; } = 0;
///
/// 左脚肌肉量,kg
///
public decimal musclekgleftleg { get; set; } = 0;
///
/// 右脚肌肉量,kg
///
public decimal musclekgrightleg { get; set; } = 0;
///
/// 左手肌肉量,kg
///
public decimal musclekgleftarm { get; set; } = 0;
///
/// 右手肌肉量,kg
///
public decimal musclekgrightarm { get; set; } = 0;
///
/// 躯干脂肪量,kg
///
public decimal bodyfatkgtrunk { get; set; } = 0;
///
/// 左脚脂肪量,kg
///
public decimal bodyfatkgleftleg { get; set; } = 0;
///
/// 右脚脂肪量,kg
///
public decimal bodyfatkgrightleg { get; set; } = 0;
///
/// 左手脂肪量,kg
///
public decimal bodyfatkgleftarm { get; set; } = 0;
///
/// 右手脂肪量,kg
///
public decimal bodyfatkgrightarm { get; set; } = 0;
///
/// 理想体重,kg
///
public decimal idealweight { get; set; } = 0;
}
///
/// 用户测量记录
///
public class MeasureUserDto
{
///
/// 第一次测量的体重
///
public decimal FirstWeight { get; set; }
///
/// 第一次测量的身高
///
public decimal FirstHeight { get; set; }
///
/// 最近一次测量的体重
///
public decimal LastWeight { get; set; }
///
/// 最近一次测量的身高
///
public decimal LastHeight { get; set; }
///
/// 最近一次测量时间
///
public string LastResultTime { get; set; }
///
/// 第一次测量时间
///
public string FirstResultTime { get; set; }
///
/// 第一次到最近的体重变化
///
public decimal Weight { get; set; }
///
/// 第一次到最近的身高变化
///
public decimal Height { get; set; }
///
/// 累计测量次数
///
public int TotalResultCnt { get; set; }
///
/// 今日测量次数
///
public int TodayResultCnt { get; set; }
///
/// 测量天数
///
public int Day { get; set; } = 0;
}
}