Files
managing-apps/src/Managing.Infrastructure.MongoDb/Collections/WorkerDto.cs
2024-05-03 16:39:25 +05:00

16 lines
488 B
C#

using Managing.Infrastructure.MongoDb.Attributes;
using Managing.Infrastructure.MongoDb.Configurations;
using static Managing.Common.Enums;
namespace Managing.Infrastructure.MongoDb.Collections;
[BsonCollection("Workers")]
public class WorkerDto : Document
{
public WorkerType WorkerType { get; set; }
public DateTime StartTime { get; set; }
public DateTime? LastRunTime { get; set; }
public int ExecutionCount { get; set; }
public TimeSpan Delay { get; set; }
}