using BPA.SAAS.Manage.Comm.Enum; using BPA.SAAS.Manage.Core.Base; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.SAAS.Manage.Core.Product { /// ///产品功能 /// [SugarTable("bpa_productfunction")] public class BPA_ProductFunction : IBaseEntity { /// /// 功能名称 /// public string Name { get; set; } /// /// 状态 0启用 1禁用 /// public CommonStatus Status { get; set; } = CommonStatus.ENABLE; /// /// 加盟商id /// // public string GroupId { get; set; } /// /// 外键 /// public string ForeignKeyRe { get; set; } /// /// 设备版本 /// public string DeviceVersionKey { get; set; } /// /// 功能类型 0属性1服务2事件 /// public int Type { get; set; } /// /// 数据类型 /// public string DataType { get; set; } /// /// 取值范围 /// public string DataRange { get; set; } /// /// 单位 /// public string Unit { get; set; } /// /// 步长 /// public decimal StepSize { get; set; } /// /// 枚举值 /// public string EnumValue { get; set; } /// /// 数据长度 /// public string DataLength { get; set; } /// /// 数据类型bool的描述 /// public string BoolLabel { get; set; } /// /// 读写类型0读写 1只读 /// public int ReadWrite { get; set; } /// /// 描述 /// public string Description { get; set; } public string ProductId { get; set; } public string DataJson { get; set; } public bool IsDefault { get; set; } } }