using Kurisu.AspNetCore.DataAccess.Entity; using Kurisu.AspNetCore.DataAccess.SqlSugar; using SqlSugar; namespace Dlhis.Entity.Device.Entities; /// /// 设备与电子围栏关系表 /// [SugarTable("ElectronicFenceDeviceRelation")] public class EFenceDeviceRelationEntity : SugarBaseEntity, ISoftDeleted { /// /// 设备ID /// [SugarColumn(IsNullable = false, IndexGroupNameList = new[] { "idx_ElectronicFenceDeviceRelation_DeviceCode_EFenceCode" })] public Guid DeviceCode { get; set; } /// /// 电子围栏ID /// [SugarColumn(IsNullable = false, IndexGroupNameList = new[] { "idx_ElectronicFenceDeviceRelation_DeviceCode_EFenceCode" })] public Guid EFenceCode { get; set; } public bool IsDeleted { get; set; } }