docker files fixes from liaqat
This commit is contained in:
15
src/Managing.Infrastructure.MongoDb/Collections/WorkerDto.cs
Normal file
15
src/Managing.Infrastructure.MongoDb/Collections/WorkerDto.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user