DownloadTaskModel.cs 761 B

12345678910111213141516171819202122
  1. using Newtonsoft.Json;
  2. namespace TaskDatabase.Model
  3. {
  4. public class DownloadTaskModel
  5. {
  6. public virtual int Tid { get; set; }
  7. [JsonProperty(PropertyName = "id")]
  8. public virtual int Id { get; set; }
  9. [JsonProperty(PropertyName = "taskId")]
  10. public virtual string Task_id { get; set; }
  11. [JsonProperty(PropertyName = "httpUrl")]
  12. public virtual string Task_url { get; set; }
  13. [JsonProperty(PropertyName = "md5")]
  14. public virtual string Task_md5 { get; set; }
  15. public virtual string Local_dir { get; set; }
  16. public virtual long Downloaded_bytes { get; set; }
  17. public virtual long File_bytes { get; set; }
  18. public virtual long Finish_time { get; set; }
  19. }
  20. }