using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XdCxRhDW.Dto
{
///
/// 服务状态上报参数模型
///
public class SvrStateReportDto
{
///
/// 服务类型
///
public EnumSvrType SvrType { get; set; }
///
/// 服务ID
///
[Display(Name = "服务ID")]
public string SvrID { get; set; }
///
/// 服务Http基地址
///
[Display(Name = "服务Http地址", AutoGenerateField = false)]
public string BaseHttpAddr { get; set; }
///
///接口地址
///
public string SwaggerAddr { get; set; }
///
/// 上报类型(服务上线=0,服务下线=1)
///
public int ReportType { get; set; }
}
///
/// 服务类型枚举
///
public enum EnumSvrType
{
///
/// 离线数据处理服务
///
[Display(Name ="离线数据处理服务")]
HistoryTask
}
}