fix 电子围栏增加部署方向

This commit is contained in:
2025-10-10 11:26:15 +08:00
parent eab455aef6
commit 1268105507
5 changed files with 42 additions and 8 deletions

View File

@@ -1,6 +1,8 @@
using Dlhis.Entity.Device.Enums;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using Mapster;
using SqlSugar;
using SqlSugar.DbConvert;
namespace Dlhis.Entity.Device.Entities;
@@ -25,4 +27,10 @@ public class EFenceEntity : SugarBaseEntity
/// </summary>
[SugarColumn(IsNullable = true, Length = 1000)]
public string Description { get; set; }
/// <summary>
/// 部署方向
/// </summary>
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(20)", SqlParameterDbType = typeof(EnumToStringConvert))]
public DeviceDeployDirectionEnumType DirectionType { get; set; }
}