using System;

namespace CncModels.Dto.CollectLog
{
    /// <summary>回放请求参数</summary>
    public class ReplayRequest { public DateTime Date { get; set; } }
    
    /// <summary>回放预览结果</summary>
    public class ReplayPreview {
        public DateTime Date { get; set; }
        public int RawLogCount { get; set; }
        public int AffectedMachineCount { get; set; }
        public int AffectedRecordCount { get; set; }
        public int AffectedSegmentCount { get; set; }
    }
    
    /// <summary>回放执行结果</summary>
    public class ReplayResult {
        public DateTime Date { get; set; }
        public int ClearedRecordCount { get; set; }
        public int ClearedSegmentCount { get; set; }
        public int RebuiltRecordCount { get; set; }
        public bool Success { get; set; }
        public string ErrorMessage { get; set; }
    }
}
