diff --git a/Src/Dlhis.Entity/Device/Entities/DeviceUploadLogEntity.cs b/Src/Dlhis.Entity/Device/Entities/DeviceUploadLogEntity.cs
index 6381a33e..39904219 100644
--- a/Src/Dlhis.Entity/Device/Entities/DeviceUploadLogEntity.cs
+++ b/Src/Dlhis.Entity/Device/Entities/DeviceUploadLogEntity.cs
@@ -1,26 +1,21 @@
using Dlhis.Entity.Device.Enums;
using Kurisu.Core.DataAccess.Entity;
+using Kurisu.SqlSugar;
using SqlSugar;
using SqlSugar.DbConvert;
namespace Dlhis.Entity.Device.Entities;
[SugarTable(TableName = "DeviceUploadLog", TableDescription = "设备上传记录")]
-public class DeviceUploadLogEntity : ITenantId
+public class DeviceUploadLogEntity : SugarBaseEntity, ITenantId
{
- ///
- /// id
- ///
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
-
-
[SugarColumn(IsNullable = true)]
public string SerialNo { get; set; }
///
/// 设备号
///
+ [SugarColumn(IsNullable = false)]
public string DeviceUniqueNo { get; set; }
///
@@ -32,9 +27,9 @@ public class DeviceUploadLogEntity : ITenantId
///
/// 产生时间
///
+ [SugarColumn(IsNullable = false)]
public DateTime RaiseDateTime { get; set; }
-
///
/// 日志类型
///