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