using PoJun.Util.Helpers;
using System;
using System.Collections.Generic;
using System.Text;

namespace ASHermed.SinoInterface.Tools.Base
{
    public class RabbitMQConfig
    {
        public static RabbitMQConfig GetInstance()
        {
            return Newtonsoft.Json.JsonConvert.DeserializeObject<RabbitMQConfig>(ConfigurationManager.AppSettings[nameof(RabbitMQConfig)]);
        }
        public string ManageAddr { get; set; }
        public string Authorization { get; set; }
        public string Cookie { get; set; }
        /// <summary>
        /// 服务器出网IP
        /// </summary>
        public string OutOfNetwork { get; set; }
        public string HostName { get; set; }
        public string Password { get; set; }
        public string UserName { get; set; }
        public int Port { get; set; }
        public string TAG { get; set; }
        public string VirtualHost { get; set; }
        public string QueueName { get; set; }
    }
}
