namespace RB_MES_APICore.Models.Cloud
{
    /// <summary>
    /// 金蝶Cloud返回消息
    /// </summary>
    public class ResponseStatus
    {
        /// <summary>
        /// 错误编号
        /// </summary>
        public string? ErrorCode { get; set; }
        /// <summary>
        /// 操作是否成功
        /// </summary>
        public string? IsSuccess { get; set; }
        /// <summary>
        /// 如果失败，具体错误描述
        /// </summary>
        public string? Errors { get; set; }
        /// <summary>
        /// 错误消息
        /// </summary>
        public string? Message { get; set; }
        /// <summary>
        /// 原始数据行号,如果接口参数启用了 BatchCount，则 DIndex 返回的顺序不是所有数据的顺序，而是每批次中的顺序。
        /// </summary>
        public int? DIndex { get; set; }
        /// <summary>
        /// 返回的数据列表
        /// </summary>
        public object? SuccessEntitys { get; set; }
        /// <summary>
        /// 返回的
        /// </summary>
        public object? SuccessMessages { get; set; }
    }
}
