Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Moipone.PublicSite.Addresses.Dto;
using Moipone.PublicSite.Domain.Employees;
using Moipone.PublicSite.Domain.Students;
using System;

namespace Moipone.PublicSite.Employees.Dto
{
[AutoMap(typeof(Employee))]
public class EmployeeDto : EntityDto<Guid>
{
#region Personal Information
public string? FirstName { get; set; }

Check warning on line 14 in aspnet-core/src/Moipone.PublicSite.Application/Employees/Dto/EmployeeDto.cs

View workflow job for this annotation

GitHub Actions / Build Stage

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public string? LastName { get; set; }

Check warning on line 15 in aspnet-core/src/Moipone.PublicSite.Application/Employees/Dto/EmployeeDto.cs

View workflow job for this annotation

GitHub Actions / Build Stage

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public int? Age { get; set; }
public RefListGender? Gender { get; set; }
public string? PersonalEmail { get; set; }

Check warning on line 18 in aspnet-core/src/Moipone.PublicSite.Application/Employees/Dto/EmployeeDto.cs

View workflow job for this annotation

GitHub Actions / Build Stage

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public string? EmployeeEmail { get; set; }

Check warning on line 19 in aspnet-core/src/Moipone.PublicSite.Application/Employees/Dto/EmployeeDto.cs

View workflow job for this annotation

GitHub Actions / Build Stage

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public string? IdNumber { get; set; }

Check warning on line 20 in aspnet-core/src/Moipone.PublicSite.Application/Employees/Dto/EmployeeDto.cs

View workflow job for this annotation

GitHub Actions / Build Stage

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
public DateOnly? DateOfBirth { get; set; }
public string? PhoneNumber { get; set; }
public AddressDto? Address { get; set; }
#endregion

#region Employment Information
public DateOnly? HireDate { get; set; }
public DateOnly? EndDate { get; set; }
public string? Position { get; set; }
public RefListDepartment? Department { get; set; }
public RefListEmploymentStatus? EmploymentStatus { get; set; }
public decimal? Salary { get; set; }
public string? EmployeeNumber { get; set; }
#endregion

#region Emergency Contact
public string? EmergencyContactName { get; set; }
public string? EmergencyContactPhone { get; set; }
public RefListRelationship? EmergencyContactRelationship { get; set; }
#endregion

#region Documents
public string? CertifiedId { get; set; }
public string? ProofOfResidence { get; set; }
public string? CurriculumVitae { get; set; }
public string? CertifiedHighestQualification { get; set; }
public string? PoliceClearance { get; set; }
#endregion
}
}
Loading
Loading