fix 调整表

This commit is contained in:
2025-09-29 15:10:53 +08:00
parent 0b66033b25
commit f71e58dfc1

View File

@@ -7,20 +7,20 @@ namespace Dlhis.Entity.Device.Entities;
/// <summary>
/// 设备与电子围栏关系表
/// </summary>
[SugarTable("ElectronicFenceDeviceRelationEntity")]
[SugarIndex("idx_ElectronicFenceDeviceRelation_DeviceCode_EFenceCode", new[] { nameof(DeviceCode), nameof(EFenceCode) }, new[] { OrderByType.Asc, OrderByType.Asc }, false)]
[SugarTable("ElectronicFenceDeviceRelation")]
public class EFenceDeviceRelationEntity : SugarBaseEntity, ISoftDeleted
{
/// <summary>
/// 设备ID
/// </summary>
[SugarColumn(IsNullable = false)]
[SugarColumn(IsNullable = false, IndexGroupNameList = new[] { "idx_ElectronicFenceDeviceRelation_DeviceCode_EFenceCode" })]
public Guid DeviceCode { get; set; }
/// <summary>
/// 电子围栏ID
/// </summary>
[SugarColumn(IsNullable = false)]
[SugarColumn(IsNullable = false, IndexGroupNameList = new[] { "idx_ElectronicFenceDeviceRelation_DeviceCode_EFenceCode" })]
public Guid EFenceCode { get; set; }
public bool IsDeleted { get; set; }