Users.cs 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Models
  6. {
  7. /// <summary>
  8. /// 员工类
  9. /// </summary>
  10. public class Users
  11. {
  12. int id;
  13. /// <summary>
  14. /// 主键
  15. /// </summary>
  16. public int Id
  17. {
  18. get { return id; }
  19. set { id = value; }
  20. }
  21. string cnName;
  22. /// <summary>
  23. /// 中文姓名
  24. /// </summary>
  25. public string CnName
  26. {
  27. get { return cnName; }
  28. set { cnName = value; }
  29. }
  30. string enName;
  31. /// <summary>
  32. /// 英文姓名
  33. /// </summary>
  34. public string EnName
  35. {
  36. get { return enName; }
  37. set { enName = value; }
  38. }
  39. string number;
  40. /// <summary>
  41. /// 员工号
  42. /// </summary>
  43. public string Number
  44. {
  45. get { return number; }
  46. set { number = value; }
  47. }
  48. int did;
  49. /// <summary>
  50. /// 设置数据类外键
  51. /// </summary>
  52. public int Did
  53. {
  54. get { return did; }
  55. set { did = value; }
  56. }
  57. string password;
  58. /// <summary>
  59. /// 密码
  60. /// </summary>
  61. public string Password
  62. {
  63. get { return password; }
  64. set { password = value; }
  65. }
  66. int sex;
  67. /// <summary>
  68. /// 性别
  69. /// </summary>
  70. public int Sex
  71. {
  72. get { return sex; }
  73. set { sex = value; }
  74. }
  75. string post;
  76. /// <summary>
  77. /// 职位
  78. /// </summary>
  79. public string Post
  80. {
  81. get { return post; }
  82. set { post = value; }
  83. }
  84. string ext;
  85. /// <summary>
  86. /// 分机号
  87. /// </summary>
  88. public string Ext
  89. {
  90. get { return ext; }
  91. set { ext = value; }
  92. }
  93. string phone;
  94. /// <summary>
  95. /// 手机号
  96. /// </summary>
  97. public string Phone
  98. {
  99. get { return phone; }
  100. set { phone = value; }
  101. }
  102. string urgentPhone;
  103. /// <summary>
  104. /// 紧急联络电话
  105. /// </summary>
  106. public string UrgentPhone
  107. {
  108. get { return urgentPhone; }
  109. set { urgentPhone = value; }
  110. }
  111. string email;
  112. /// <summary>
  113. /// 电子邮箱
  114. /// </summary>
  115. public string Email
  116. {
  117. get { return email; }
  118. set { email = value; }
  119. }
  120. string address;
  121. /// <summary>
  122. /// 目前所在地区
  123. /// </summary>
  124. public string Address
  125. {
  126. get { return address; }
  127. set { address = value; }
  128. }
  129. DateTime edate;
  130. /// <summary>
  131. /// 入职日期
  132. /// </summary>
  133. public DateTime Edate
  134. {
  135. get { return edate; }
  136. set { edate = value; }
  137. }
  138. DateTime rdate;
  139. /// <summary>
  140. /// 离职日期
  141. /// </summary>
  142. public DateTime Rdate
  143. {
  144. get { return rdate; }
  145. set { rdate = value; }
  146. }
  147. int seniority;
  148. /// <summary>
  149. /// 工龄
  150. /// </summary>
  151. public int Seniority
  152. {
  153. get { return seniority; }
  154. set { seniority = value; }
  155. }
  156. string remark;
  157. /// <summary>
  158. /// 备注
  159. /// </summary>
  160. public string Remark
  161. {
  162. get { return remark; }
  163. set { remark = value; }
  164. }
  165. int isDel;
  166. /// <summary>
  167. /// 删除标识
  168. /// </summary>
  169. public int IsDel
  170. {
  171. get { return isDel; }
  172. set { isDel = value; }
  173. }
  174. int company;
  175. /// <summary>
  176. /// 所属公司
  177. /// </summary>
  178. public int Company
  179. {
  180. get { return company; }
  181. set { company = value; }
  182. }
  183. string birthday;
  184. /// <summary>
  185. /// 出生日期
  186. /// </summary>
  187. public string Birthday
  188. {
  189. get { return birthday; }
  190. set { birthday = value; }
  191. }
  192. string iDCard;
  193. /// <summary>
  194. /// 身份证号码
  195. /// </summary>
  196. public string IDCard
  197. {
  198. get { return iDCard; }
  199. set { iDCard = value; }
  200. }
  201. string startWorkDate;
  202. /// <summary>
  203. /// 最初参加工作时间
  204. /// </summary>
  205. public string StartWorkDate
  206. {
  207. get { return startWorkDate; }
  208. set { startWorkDate = value; }
  209. }
  210. string education;
  211. /// <summary>
  212. /// 学历
  213. /// </summary>
  214. public string Education
  215. {
  216. get { return education; }
  217. set { education = value; }
  218. }
  219. string professional;
  220. /// <summary>
  221. /// 专业
  222. /// </summary>
  223. public string Professional
  224. {
  225. get { return professional; }
  226. set { professional = value; }
  227. }
  228. string graduateInstitutions;
  229. /// <summary>
  230. /// 毕业院校
  231. /// </summary>
  232. public string GraduateInstitutions
  233. {
  234. get { return graduateInstitutions; }
  235. set { graduateInstitutions = value; }
  236. }
  237. string theOrAdultEducation;
  238. /// <summary>
  239. /// 统招/成教
  240. /// </summary>
  241. public string TheOrAdultEducation
  242. {
  243. get { return theOrAdultEducation; }
  244. set { theOrAdultEducation = value; }
  245. }
  246. string maritalStatus;
  247. /// <summary>
  248. /// 婚姻状况
  249. /// </summary>
  250. public string MaritalStatus
  251. {
  252. get { return maritalStatus; }
  253. set { maritalStatus = value; }
  254. }
  255. string homeAddress;
  256. /// <summary>
  257. /// 家庭地址
  258. /// </summary>
  259. public string HomeAddress
  260. {
  261. get { return homeAddress; }
  262. set { homeAddress = value; }
  263. }
  264. string usePeriod;
  265. /// <summary>
  266. /// 试用期限
  267. /// </summary>
  268. public string UsePeriod
  269. {
  270. get { return usePeriod; }
  271. set { usePeriod = value; }
  272. }
  273. string workExperience;
  274. /// <summary>
  275. /// 工作经历单位
  276. /// </summary>
  277. public string WorkExperience
  278. {
  279. get { return workExperience; }
  280. set { workExperience = value; }
  281. }
  282. string certificateTime;
  283. /// <summary>
  284. /// 证书时间
  285. /// </summary>
  286. public string CertificateTime
  287. {
  288. get { return certificateTime; }
  289. set { certificateTime = value; }
  290. }
  291. string certificate;
  292. /// <summary>
  293. /// 专业培训及资格证书
  294. /// </summary>
  295. public string Certificate
  296. {
  297. get { return certificate; }
  298. set { certificate = value; }
  299. }
  300. }
  301. }