Introduce t_employee linked to RBAC users, switch employee numbers to IDE001+, and keep invite bind/newcomer coupon backend changes. Drop retired sql/migrate and seed scripts in favor of db.sql. Co-authored-by: Cursor <cursoragent@cursor.com>
64 lines
1.5 KiB
C#
64 lines
1.5 KiB
C#
using Oms.Domain.SystemAggregate.Enums;
|
|
|
|
namespace Oms.Application.Dtos.System;
|
|
|
|
/// <summary>
|
|
/// 员工档案出参(工号/手机/邮箱见用户表)。
|
|
/// </summary>
|
|
public class EmployeeOutput
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string UserId { get; set; } = string.Empty;
|
|
|
|
public string RealName { get; set; } = string.Empty;
|
|
|
|
public Gender Gender { get; set; }
|
|
|
|
public DateTime? Birthday { get; set; }
|
|
|
|
public string? IdCardNo { get; set; }
|
|
|
|
public DateTime? HireDate { get; set; }
|
|
|
|
public DateTime? ProbationEndDate { get; set; }
|
|
|
|
public DateTime? RegularizationDate { get; set; }
|
|
|
|
public EmploymentStatus EmploymentStatus { get; set; }
|
|
|
|
public DateTime? ResignationDate { get; set; }
|
|
|
|
public string? Department { get; set; }
|
|
|
|
public string? Position { get; set; }
|
|
|
|
public string? JobLevel { get; set; }
|
|
|
|
public EmploymentType EmploymentType { get; set; }
|
|
|
|
public string? WorkLocation { get; set; }
|
|
|
|
public string? ManagerUserId { get; set; }
|
|
|
|
public DateTime? ContractStartDate { get; set; }
|
|
|
|
public DateTime? ContractEndDate { get; set; }
|
|
|
|
public string? ContractType { get; set; }
|
|
|
|
public string? EmergencyContact { get; set; }
|
|
|
|
public string? EmergencyPhone { get; set; }
|
|
|
|
public string? Address { get; set; }
|
|
|
|
public string? Education { get; set; }
|
|
|
|
public string? Remark { get; set; }
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
}
|