using System.Collections.Generic;

namespace MDL.Models
{
    /// <summary>
    /// FTP上传结果
    /// </summary>
    public class FtpUploadResult
    {
        /// <summary>
        /// 文件名
        /// </summary>
        public string Filename { get; set; }
        
        /// <summary>
        /// 状态，成功为"ok"，失败为"error"
        /// </summary>
        public string Status { get; set; }
        
        /// <summary>
        /// 响应消息
        /// </summary>
        public string Message { get; set; }
        
        /// <summary>
        /// 文件路径
        /// </summary>
        public string FilePath { get; set; }
    }
    
    /// <summary>
    /// FTP批量上传结果
    /// </summary>
    public class FtpBatchUploadResult
    {
        /// <summary>
        /// 状态，成功为"ok"，失败为"error"
        /// </summary>
        public string Status { get; set; }
        
        /// <summary>
        /// 响应时间戳（UTC）
        /// </summary>
        public System.DateTime Timestamp { get; set; }
        
        /// <summary>
        /// 成功上传的文件数量
        /// </summary>
        public int SuccessCount { get; set; }
        
        /// <summary>
        /// 失败的文件数量
        /// </summary>
        public int FailedCount { get; set; }
        
        /// <summary>
        /// 总文件数量
        /// </summary>
        public int TotalCount { get; set; }
        
        /// <summary>
        /// 详细结果列表
        /// </summary>
        public List<FtpUploadResult> Results { get; set; }
    }
}
