fix 电子围栏增加部署方向
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user