|
@@ -1,203 +1,159 @@
|
|
|
-using System;
|
|
|
-using System.Collections.Generic;
|
|
|
-using System.Linq;
|
|
|
-using System.Text;
|
|
|
-using System.Threading.Tasks;
|
|
|
-
|
|
|
-namespace OASystem.Domain.Entities.BasicInfo
|
|
|
+using OASystem.Domain.Entities;
|
|
|
+using SqlSugar;
|
|
|
+namespace OaSystem.Domain.Entities.System
|
|
|
{
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarTable("S_Users")]
|
|
|
- public class S_Users :EntityBase
|
|
|
+ [SugarTable("Sys_Users")]
|
|
|
+ public class Sys_Users : EntityBase
|
|
|
{
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 50)]
|
|
|
public string CnName { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 50)]
|
|
|
public string EnName { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 50)]
|
|
|
public string Number { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public int CompanyId { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public int DepId { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public int JobPostId { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 50)]
|
|
|
public string Password { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public int Sex { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 50)]
|
|
|
public string Ext { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 50)]
|
|
|
public string Phone { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 50)]
|
|
|
public string UrgentPhone { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 50)]
|
|
|
public string Email { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 200)]
|
|
|
public string Address { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public DateTime Edate { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public DateTime Rdate { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public int Seniority { get; set; }
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
- public string Remark { get; set; }
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
- public int IsDel { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public DateTime Birthday { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 20)]
|
|
|
public string IDCard { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public DateTime StartWorkDate { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 200)]
|
|
|
public string GraduateInstitutions { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 50)]
|
|
|
public string Professional { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
- public string Education { get; set; }
|
|
|
-
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
+ public int Education { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
- public string TheOrAdultEducation { get; set; }
|
|
|
-
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
+ public int TheOrAdultEducation { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 200)]
|
|
|
public string MaritalStatus { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 200)]
|
|
|
public string HomeAddress { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 200)]
|
|
|
public string UsePeriod { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 500)]
|
|
|
public string WorkExperience { get; set; }
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false, Length = 500)]
|
|
|
public string Certificate { get; set; }
|
|
|
-
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- [SugarColumn(IsNullable = true)]
|
|
|
+ [SugarColumn(IsNullable = false)]
|
|
|
public int HrAudit { get; set; }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
}
|