23 lines
773 B
C#
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;
|
|
}
|
|
}
|
|
}
|