16 lines
488 B
C#
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; }
|
|
}
|