56 lines
2.1 KiB
C#
56 lines
2.1 KiB
C#
using System.Collections.Generic;
|
|
using System.Security.Cryptography;
|
|
using CompanyManagment.App.Contracts.EmployeeDocuments;
|
|
|
|
namespace CompanyManagment.App.Contracts.Employee;
|
|
|
|
public record EmployeeByNationalCodeInWorkshopViewModel
|
|
{
|
|
public string EmployeeFName { get; set; }
|
|
public string EmployeeLName { get; set; }
|
|
public string Nationality { get; set; }
|
|
public string Gender { get; set; }
|
|
public string MaritalStatus { get; set; }
|
|
public long EmployeeId { get; set; }
|
|
public string Picture1 { get; set; }
|
|
public string Picture2 { get; set; }
|
|
public long PersonnelCode { get; set; }
|
|
public List<EmployeeByNationalCodeEmployeeBankInfoViewModel> EmployeeBankInfos { get; set; }
|
|
public EmployeeByNationalCodeEmployeeDocumentViewModel EmployeeDocument { get; set; }
|
|
public bool AuthorizedCanceled { get; set; }
|
|
|
|
}
|
|
|
|
public class EmployeeByNationalCodeEmployeeDocumentViewModel
|
|
{
|
|
//عکس پرسنل
|
|
public EmployeeDocumentItemViewModel EmployeePicture { get; set; }
|
|
|
|
//شناسنامه
|
|
public EmployeeDocumentItemViewModel IdCardPage1 { get; set; }
|
|
public EmployeeDocumentItemViewModel IdCardPage2 { get; set; }
|
|
public EmployeeDocumentItemViewModel IdCardPage3 { get; set; }
|
|
public EmployeeDocumentItemViewModel IdCardPage4 { get; set; }
|
|
|
|
//کارت ملی
|
|
public EmployeeDocumentItemViewModel NationalCardFront { get; set; }
|
|
|
|
public EmployeeDocumentItemViewModel NationalCardRear { get; set; }
|
|
//مدرک تحصیلی
|
|
public EmployeeDocumentItemViewModel EducationalDegree { get; set; }
|
|
|
|
//کارت پایان خدمت
|
|
public EmployeeDocumentItemViewModel MilitaryServiceCard { get; set; }
|
|
}
|
|
|
|
public class EmployeeByNationalCodeEmployeeBankInfoViewModel
|
|
{
|
|
public string BankName { get; set; }
|
|
public string BankLogoPath { get; set; }
|
|
public string CardNumber { get; set; }
|
|
public string ShebaNumber { get; set; }
|
|
public string BankAccountNumber { get; set; }
|
|
public bool IsDefault { get; set; }
|
|
public long BankId { get; set; }
|
|
public long BankLogoMediaId { get; set; }
|
|
} |