forked from FarmMaps/FarmMapsApiClient
22 lines
478 B
C#
22 lines
478 B
C#
|
using System;
|
||
|
|
||
|
namespace FarmmapsApi.Models
|
||
|
{
|
||
|
public enum ItemTaskState
|
||
|
{
|
||
|
Error,
|
||
|
Ok,
|
||
|
Scheduled,
|
||
|
Processing,
|
||
|
}
|
||
|
|
||
|
public class ItemTaskStatus
|
||
|
{
|
||
|
public string TaskType { get; set; }
|
||
|
public string Code { get; set; }
|
||
|
public string Message { get; set; }
|
||
|
public ItemTaskState State { get; set; }
|
||
|
public DateTime? Started { get; set; }
|
||
|
public DateTime? Finished { get; set; }
|
||
|
}
|
||
|
}
|