You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.0 KiB
45 lines
1.0 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Ksat.Supplyment.Library.Model.Uploader
|
|
{
|
|
public class UploadCache
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 属于哪个上传任务,可指代线体
|
|
/// </summary>
|
|
[Required]
|
|
public string UploaderID { get; set; }
|
|
|
|
[Required]
|
|
public DateTime CreateAt { get; set; }
|
|
|
|
/// <summary>
|
|
/// 最后一次上传时间
|
|
/// </summary>
|
|
public DateTime RetryAt { get; set; }
|
|
|
|
/// <summary>
|
|
/// 尝试次数
|
|
/// </summary>
|
|
public int RetryCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 错误信息
|
|
/// </summary>
|
|
public string ErrorInfo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上传相关数据
|
|
/// </summary>
|
|
public string RequestData { get; set; }
|
|
}
|
|
}
|