fix 调试大华设备对接
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Dlhis.Entity.Device.Enums;
|
||||
|
||||
namespace Dlhis.ScheduledTask.DeviceUploadLog.Request;
|
||||
|
||||
@@ -13,11 +14,22 @@ public class DeviceUploadLogUploadRequest
|
||||
/// <summary>
|
||||
/// 用户学工号
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "人员唯一号不能为空")]
|
||||
public string UserUniqueNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上传时间
|
||||
/// 产生时间
|
||||
/// </summary>
|
||||
public DateTime UploadTime { get; set; }
|
||||
public DateTime RaiseDateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 记录序号
|
||||
/// </summary>
|
||||
public string SerialNo { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 日志类型
|
||||
/// </summary>
|
||||
[EnumDataType(typeof(DeviceUploadLogTypeEnumType))]
|
||||
public DeviceUploadLogTypeEnumType Type { get; set; } = DeviceUploadLogTypeEnumType.Door;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user