using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Model
{
[Serializable]
public class tb_AdminInfo
{
private string NTID { get; set; }
private string PASSWORD { get; set; }
private string ROLE_NAME { get; set; }
private string ACTION_CODE { get; set; }
private DateTime EXP_DATE { get; set; }
private string UPDATE_NTID { get; set; }
private DateTime UPDATE_TIME { get; set; }
private string REMARK { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DBHelper;
using log4net;
using Model;
using MySqlController;
namespace ViewController
{
public class UserInfo
{
private static readonly ILog logger = LogManager.GetLogger(typeof(UserInfo));
public static string NTID { get; set; }
public static string ROLE_NAME { get; set; }
public static string ACTION_CODE { get; set; }
public static DateTime EXP_DATE { get; set; }
public static string TSMC_EMP_FLAG { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Model
{
public class tb_question_answer
{
private int id = 0;
private string empID = string.Empty;
private string qType = string.Empty;
private string question = string.Empty;
private string answer = string.Empty;
private string userAnswer = string.Empty;
private string remark = string.Empty;
public int Id
{
get
{
return id;
}
set
{
id = value;
}
}
public string EmpID
{
get {
return empID;
}
set
{
empID = value;
}
}
public string QType
{
get
{
return qType;
}
set
{
qType = value;
}
}
public string Question
{
get
{
return question;
}
set
{
question = value;
}
}
public string Answer
{
get
{
return answer;
}
set
{
answer = value;
}
}
public string Remark
{
get
{
return remark;
}
set
{
remark = value;
}
}
public string UserAnswer
{
get
{
return userAnswer;
}
set
{
userAnswer = value;
}
}
}
}
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Model
{
public class tb_SignLog
{
private static readonly ILog logger = LogManager.GetLogger(typeof(tb_SignLog));
public string Id { get; set; } = string.Empty;
public string QType { get; set; } = string.Empty;
public string EmpID { get; set; } = string.Empty;
public string UserAnswer { get; set; } = string.Empty;
public string TrueAnswer { get; set; } = string.Empty;
public string ResultA { get; set; } = string.Empty;
public string QATime { get; set; } = string.Empty;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Model
{
[Serializable]
public class tb_UserCardInfo
{
private string cARD_NUM = string.Empty;
private string eMPLID = string.Empty;
private string nAME = string.Empty;
private string dESCRSHORT = string.Empty;
private string dESCR = string.Empty;
private string tSMC_EMP_FLAG = string.Empty;
public string CARD_NUM
{
get
{
return cARD_NUM;
}
set
{
cARD_NUM = value;
}
}
public string EMPLID
{
get
{
return eMPLID;
}
set
{
eMPLID = value;
}
}
public string NAME
{
get
{
return nAME;
}
set
{
nAME = value;
}
}
public string DESCRSHORT
{
get
{
return dESCRSHORT;
}
set
{
dESCRSHORT = value;
}
}
public string DESCR
{
get
{
return dESCR;
}
set
{
dESCR = value;
}
}
public string TSMC_EMP_FLAG
{
get
{
return tSMC_EMP_FLAG;
}
set
{
tSMC_EMP_FLAG = value;
}
}
}
}