36 lines
877 B
C#
36 lines
877 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Dlhis.Entity.Device.Enums;
|
|
|
|
namespace Dlhis.ScheduledTask.DeviceUploadLog.Request;
|
|
|
|
public class DeviceUploadLogUploadRequest
|
|
{
|
|
/// <summary>
|
|
/// 设备唯一号
|
|
/// </summary>
|
|
[Required(ErrorMessage = "设备唯一号不能为空")]
|
|
public string DeviceUniqueNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户学工号
|
|
/// </summary>
|
|
public string UserUniqueNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产生时间
|
|
/// </summary>
|
|
public DateTime RaiseDateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 记录序号
|
|
/// </summary>
|
|
public string SerialNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 日志类型
|
|
/// </summary>
|
|
[EnumDataType(typeof(DeviceUploadLogTypeEnumType))]
|
|
public DeviceUploadLogTypeEnumType Type { get; set; } = DeviceUploadLogTypeEnumType.Door;
|
|
}
|