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

namespace SCAN
{
    public class Users
    {
        public struct User {
            public string Uid { get; set; }
            public string Name { get; set; }
            public string Password { get; set; }
            public string Dept { get; set; }
            public string Role { get; set; }
        }

        private static Dictionary<string, User> UserList;
        public static Dictionary<string, User> GetInstance()
        {
            if (UserList == null)
                UserList = new Dictionary<string, User>();
            return UserList;
        }
    }
}
