Files
Backend-Api/Company.Domain/EmployeeDocumentsAgg/EmployeeDocumentRequiredItems.cs
2025-02-18 16:16:33 +03:30

23 lines
773 B
C#

using System.Collections.Generic;
using CompanyManagment.App.Contracts.EmployeeDocuments;
namespace Company.Domain.EmployeeDocumentsAgg
{
public static class EmployeeDocumentRequiredItems
{
public static List<DocumentItemLabel> GetByGender(string gender)
{
List<DocumentItemLabel> requiredDocuments =
[
DocumentItemLabel.IdCardPage1, DocumentItemLabel.IdCardPage2, DocumentItemLabel.IdCardPage3, DocumentItemLabel.NationalCardRear,
DocumentItemLabel.NationalCardFront,DocumentItemLabel.EmployeePicture
];
if (gender == "مرد")
requiredDocuments.Add(DocumentItemLabel.MilitaryServiceCard);
return requiredDocuments;
}
}
}