using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YBDevice.Entity
{
    /// <summary>
    /// 设备类型对照表
    /// </summary>

    [SugarTable("YB_DeviceTypeExt", TableDescription = "设备类型对照表", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
    public class YB_DeviceTypeExt
    {
        /// <summary>
        /// 设备类型
        /// </summary>
        [SugarColumn(ColumnDescription = "设备类型",IsPrimaryKey =true)]
        public int Id { get; set; }
        /// <summary>
        /// 映射对应的设备类型,用以多个类型合并到一块
        /// </summary>
        [SugarColumn(ColumnDescription = "映射对应的设备类型,用以多个类型合并到一块")]
        public int RId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnDescription = "名称", ColumnDataType = "nvarchar(100)")]
        public string Name { get; set; }

        /// <summary>
        /// 对应包含的设备类型(同系列),多个中间以英文,分隔
        /// </summary>
        [SugarColumn(ColumnDescription = "对应包含的设备类型(同系列),多个中间以英文,分隔")]
        public string Content { get; set; }
        /// <summary>
        /// 封面图片
        /// </summary>
        [SugarColumn(ColumnDescription = "封面图片",ColumnDataType ="varchar(100)")]
        public string HeadImg { get; set; }
        /// <summary>
        /// 小程序appid
        /// </summary>
        [SugarColumn(ColumnDescription = "小程序appid")]
        public string AppId { get; set; }
        /// <summary>
        /// 状态,0-不可用,1-可用
        /// </summary>
        [SugarColumn(ColumnDescription = "状态,0-不可用,1-可用")]
        public StatusType Status { get; set; }
    }
}
