添加项目文件。
This commit is contained in:
90
extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListOutput.cs
Normal file
90
extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListOutput.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
using JNPF.DependencyInjection;
|
||||
|
||||
namespace JNPF.Extend.Entitys.Dto.Employee;
|
||||
|
||||
/// <summary>
|
||||
/// 获取职员列表(分页).
|
||||
/// </summary>
|
||||
[SuppressSniffer]
|
||||
public class EmployeeListOutput
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键id.
|
||||
/// </summary>
|
||||
public string? id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工号.
|
||||
/// </summary>
|
||||
public string? enCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 姓名.
|
||||
/// </summary>
|
||||
public string? fullName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 性别ID.
|
||||
/// </summary>
|
||||
public string? gender { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门.
|
||||
/// </summary>
|
||||
public string? departmentName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 岗位.
|
||||
/// </summary>
|
||||
public string? positionName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用工性质.
|
||||
/// </summary>
|
||||
public string? workingNature { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证.
|
||||
/// </summary>
|
||||
public string? idNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 联系电话.
|
||||
/// </summary>
|
||||
public string? telephone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生日.
|
||||
/// </summary>
|
||||
public DateTime? birthday { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参加工作时间.
|
||||
/// </summary>
|
||||
public DateTime? attendWorkTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 学历.
|
||||
/// </summary>
|
||||
public string? education { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所学专业.
|
||||
/// </summary>
|
||||
public string? major { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 毕业院校.
|
||||
/// </summary>
|
||||
public string? graduationAcademy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 毕业时间.
|
||||
/// </summary>
|
||||
public DateTime? graduationTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间.
|
||||
/// </summary>
|
||||
public DateTime? creatorTime { get; set; }
|
||||
}
|
||||
27
extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListQuery.cs
Normal file
27
extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListQuery.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using JNPF.Common.Filter;
|
||||
using JNPF.DependencyInjection;
|
||||
|
||||
namespace JNPF.Extend.Entitys.Dto.Employee;
|
||||
|
||||
/// <summary>
|
||||
/// 获取职员列表(分页).
|
||||
/// </summary>
|
||||
[SuppressSniffer]
|
||||
public class EmployeeListQuery : PageInputBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询内容.
|
||||
/// </summary>
|
||||
public string? condition { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询字段.
|
||||
/// </summary>
|
||||
public string? selectKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否分页(0:分页).
|
||||
/// </summary>
|
||||
public string? dataType { get; set; }
|
||||
|
||||
}
|
||||
12
extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataInput.cs
Normal file
12
extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataInput.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using JNPF.DependencyInjection;
|
||||
|
||||
namespace JNPF.Extend.Entitys.Dto.Employee;
|
||||
|
||||
[SuppressSniffer]
|
||||
public class ImportDataInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 导入数据.
|
||||
/// </summary>
|
||||
public List<EmployeeListOutput>? list { get; set; }
|
||||
}
|
||||
27
extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataOutput.cs
Normal file
27
extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataOutput.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using JNPF.DependencyInjection;
|
||||
|
||||
namespace JNPF.Extend.Entitys.Dto.Employee;
|
||||
|
||||
[SuppressSniffer]
|
||||
public class ImportDataOutput
|
||||
{
|
||||
/// <summary>
|
||||
/// 导入失败信息.
|
||||
/// </summary>
|
||||
public List<EmployeeListOutput> failResult { get; set; } = new List<EmployeeListOutput>();
|
||||
|
||||
/// <summary>
|
||||
/// 失败条数.
|
||||
/// </summary>
|
||||
public int fnum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 导入是否成功(0:成功).
|
||||
/// </summary>
|
||||
public int resultType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 成功条数.
|
||||
/// </summary>
|
||||
public int snum { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user