fix 调整表
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user