using SqlSugar;

namespace YBDevice.Entity
{
    /// <summary>
    /// 测量记录计算结果
    /// </summary>
    public class YB_Measure
    {
        /// <summary>
        /// 测量记录计算结果
        /// </summary>
        public YB_Measure()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 Id { get; set; }

        /// <summary>
        /// 测量记录ID
        /// </summary>
        public System.Int32 ResultId { get; set; }

        /// <summary>
        /// 计费状态,0-未领取,1-已领取,-1-未知状态,2-重复领取
        /// </summary>
        public System.Int32 TakeStatus { get; set; }

        /// <summary>
        /// 性别,1-男,2-女,0-未知
        /// </summary>
        public System.Int32 Sex { get; set; }

        /// <summary>
        /// 年龄,岁
        /// </summary>
        public System.Int32 Age { get; set; }

        /// <summary>
        /// 年龄月份
        /// </summary>
        public System.Int32 Month { get; set; }

        /// <summary>
        /// 身高,单位为CM
        /// </summary>
        public System.Decimal Height { get; set; }

        /// <summary>
        /// 体重
        /// </summary>
        public System.Decimal Weight { get; set; }

        /// <summary>
        /// 类型,1-单阻抗,2-八电极
        /// </summary>
        public System.Int32 Type { get; set; }

        /// <summary>
        /// 分配给的家庭成员ID
        /// </summary>
        public System.Int32 FamilyId { get; set; }

        /// <summary>
        /// 脂肪率
        /// </summary>
        public System.Decimal fat_r { get; set; }

        /// <summary>
        /// 肌肉率
        /// </summary>
        public System.Decimal muscle { get; set; }

        /// <summary>
        /// 水份
        /// </summary>
        public System.Decimal water { get; set; }

        /// <summary>
        /// 骨重
        /// </summary>
        public System.Decimal bone { get; set; }

        /// <summary>
        /// 基础代谢
        /// </summary>
        public System.Decimal kcal { get; set; }

        /// <summary>
        /// 脂肪重量
        /// </summary>
        public System.Decimal fat_w { get; set; }

        /// <summary>
        /// 内脂
        /// </summary>
        public System.Decimal visceral { get; set; }

        /// <summary>
        /// 蛋白质
        /// </summary>
        public System.Decimal protein { get; set; }

        /// <summary>
        /// 体龄
        /// </summary>
        public System.Int32 bodyage { get; set; }

        /// <summary>
        /// BMI
        /// </summary>
        public System.Decimal bmi { get; set; }

        /// <summary>
        /// 分数
        /// </summary>
        public System.Decimal cmi { get; set; }

        /// <summary>
        /// 皮下脂肪
        /// </summary>
        public System.Decimal sfr { get; set; }

        /// <summary>
        /// 肌肉量
        /// </summary>
        public System.Decimal muscleval { get; set; }

        /// <summary>
        /// 蛋白量
        /// </summary>
        public System.Decimal proteinval { get; set; }

        /// <summary>
        /// 去脂体重
        /// </summary>
        public System.Decimal lbm { get; set; }

        /// <summary>
        /// 体型,参考体型枚举
        /// </summary>
        public System.String body { get; set; }

        /// <summary>
        /// 肥胖等级,参考等级枚举
        /// </summary>
        public System.String fatlevel { get; set; }

        /// <summary>
        /// 计算时间
        /// </summary>
        public System.DateTime createtime { get; set; }
    }
}
