using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Com.FirmLib
{
    /// <summary>
    /// 批量操作结果
    /// </summary>
    public class BatchResult<T>
    {
        /// <summary>
        /// 批量操作结果
        /// </summary>
        public BatchResultType Result { get; set; }

        /// <summary>
        /// 附加信息
        /// </summary>
        public T AttachInfo { get; set; }
    }
    /// <summary>
    /// 批量操作结果
    /// </summary>
    public class BatchResult:BatchResult<object>
    {
       
    }
    /// <summary>
    /// 批量操作结果
    /// </summary>
    public enum BatchResultType
    {
        Failed,
        PartSuccessed,
        Successed,
    }
}
