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

namespace RDH.PharmacyPlatform.Sync.Core
{
    /// <summary>
    /// 表示同步配置的类
    /// </summary>
    [Serializable]
    public class Config
    {
        /// <summary>
        /// 获取或设置服务端IP或域名
        /// </summary>
        public String ServerIpHost { get; set; }
        /// <summary>
        /// 获取或设置服务端通信账号
        /// </summary>
        public String ServerUserName { get; set; }
        /// <summary>
        /// 获取或设置服务端通信密码
        /// </summary>
        public String ServerUserPassword { get; set; }
        /// <summary>
        /// 获取或设置服务端通信端口
        /// </summary>
        public UInt16 ServerSyncPort { get; set; }
        /// <summary>
        /// 获取或设置服务端web/Http端口
        /// </summary>
        public UInt16 ServerWebPort { get; set; }
        /// <summary>
        /// 获取或设置本地同步ID
        /// </summary>
        public String LocalNodeId { get; set; }
        /// <summary>
        /// 获取或设置本地同步分组名称
        /// </summary>
        public String LocalNodeGroup { get; set; }
    }
}
