using Kurisu.Core.DataAccess.Entity; using Kurisu.SqlSugar; using SqlSugar; namespace Dlhis.Entity.Device.Entities; /// /// 设备组 /// [SugarTable(TableName = "DeviceGroup", TableDescription = "设备组")] public class DeviceGroupEntity : SugarBaseEntity, ITenantId, ISoftDeleted { /// /// 上级设备组code /// [SugarColumn(ColumnDescription = "上级设备组code")] public Guid? PCode { get; set; } /// /// 设备组code /// [SugarColumn(ColumnDescription = "设备组code")] public Guid Code { get; set; } /// /// 设备组名称 /// [SugarColumn(ColumnDescription = "设备组名称")] public string Name { get; set; } public string TenantId { get; set; } public bool IsDeleted { get; set; } }