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; } /// /// 属于哪个上传任务,可指代线体 /// [Required] public string UploaderID { get; set; } public string Tag { get; set; } [Required] public DateTime CreateAt { get; set; } /// /// 最后一次上传时间 /// public DateTime RetryAt { get; set; } /// /// 尝试次数 /// public int RetryCount { get; set; } /// /// 错误信息 /// public string ErrorInfo { get; set; } /// /// 上传相关数据 /// public string RequestData { get; set; } } }