using SqlSugar;

namespace YBDevice.Entity
{
    /// <summary>
    /// 设备类型
    /// </summary>
    [SugarTable("YB_DeviceType", TableDescription = "设备类型", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
    public class YB_DeviceType
    {
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 Id { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        [SugarColumn(ColumnDescription = "类型名称", ColumnDataType = "nvarchar(50)")]
        public System.String Name { get; set; }

        /// <summary>
        /// 类型别名
        /// </summary>
        [SugarColumn(ColumnDescription = "类型别名", ColumnDataType = "nvarchar(50)",IsNullable =true)]
        public System.String ExtName { get; set; }

        /// <summary>
        /// 设备类型编号，1-H01,2-H03
        /// </summary>
        [SugarColumn(ColumnDescription = "设备类型编号，1-H01,2-H03")]
        public System.Int32 Code { get; set; }

        /// <summary>
        /// 协议类型,1-身高体重体脂,2-体重体脂
        /// </summary>
        [SugarColumn(ColumnDescription = "协议类型,1-身高体重体脂,2-体重体脂")]
        public DeviceProType ProType { get; set; }

        /// <summary>
        /// 版本类型,1-基础版,2-高级版,3-婴儿版,4-妈妈版
        /// </summary>
        [SugarColumn(ColumnDescription = "版本类型,1-基础版,2-高级版,3-婴儿版,4-妈妈版")]
        public DeviceVerType VerType { get; set; }
        /// <summary>
        /// 封面图片
        /// </summary>
        [SugarColumn(ColumnDescription = "封面图片", ColumnDataType = "varchar(100)",IsNullable =true)]
        public string HeadImg { get; set; }
        /// <summary>
        /// 包含的同一类型
        /// </summary>
        [SugarColumn(ColumnDescription = "包含的同一类型", ColumnDataType = "varchar(100)", IsNullable = true)]
        public string Content { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", ColumnDataType = "nvarchar(200)")]
        public System.String Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnDescription = "创建时间")]
        public System.DateTime CreateTime { get; set; }
    }
}
