using System;
using System.Collections.Generic;
using System.Text;
namespace Store.Modules.CloudProduct.Dtos
{
///
/// OpenSearch 运行状态
///
public class OpenSearchStatusDto
{
///
/// 节点地址
///
public string NodeUrl { get; set; } = string.Empty;
///
/// 索引名称
///
public string IndexName { get; set; } = string.Empty;
///
/// 是否可连接
///
public bool Connected { get; set; }
///
/// 索引是否存在
///
public bool IndexExists { get; set; }
///
/// 文档总数(索引不存在时为 -1)
///
public long DocumentCount { get; set; } = -1;
///
/// 说明信息
///
public string? Message { get; set; }
}
}