fix 继承baseEntity
This commit is contained in:
@@ -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
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string SerialNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false)]
|
||||
public string DeviceUniqueNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -32,9 +27,9 @@ public class DeviceUploadLogEntity : ITenantId
|
||||
/// <summary>
|
||||
/// 产生时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false)]
|
||||
public DateTime RaiseDateTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 日志类型
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user