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

namespace eDosStation
{
    public class User
    {
        public int PersID { get; set; }
        public string LastName { get; set; }
        public string FirstName { get; set; }
        public string conCode { get; set; }
        public string Language { get; set; }
        public bool? AccessAllow { get; set; }
        public double? Margin { get; set; }
        public int? VisitIDLocked { get; set; }
        public string ReasonNoAccess { get; set; }
        public string UserComment { get; set; }

        public bool AllOk = false;

        public int Error = 0;
        public string ErrorMessage;

        public User()
        {
            LastName = FirstName = conCode = Language = string.Empty;
            AccessAllow = null;
        }
    }
}
