From 6a6ec2610d3ed4ebcb62aee290daef235626066f Mon Sep 17 00:00:00 2001 From: MahanCh Date: Sat, 2 Aug 2025 14:39:46 +0330 Subject: [PATCH] add AccountHolderName and Type to PaymentInstrument model and repository --- .../GetPaymentInstrumentListViewModel.cs | 10 ++++++++++ .../Repository/PaymentInstrumentRepository.cs | 2 ++ 2 files changed, 12 insertions(+) diff --git a/CompanyManagment.App.Contracts/PaymentInstrument/GetPaymentInstrumentListViewModel.cs b/CompanyManagment.App.Contracts/PaymentInstrument/GetPaymentInstrumentListViewModel.cs index 85eb37c1..dbe7e876 100644 --- a/CompanyManagment.App.Contracts/PaymentInstrument/GetPaymentInstrumentListViewModel.cs +++ b/CompanyManagment.App.Contracts/PaymentInstrument/GetPaymentInstrumentListViewModel.cs @@ -60,4 +60,14 @@ public class PaymentInstrumentItemsViewModel /// توضیحات /// public string Description { get; set; } + + /// + /// نام صاحب حساب + /// + public string AccountHolderName { get; set; } + + /// + /// نوع + /// + public PaymentInstrumentType Type { get; set; } } \ No newline at end of file diff --git a/CompanyManagment.EFCore/Repository/PaymentInstrumentRepository.cs b/CompanyManagment.EFCore/Repository/PaymentInstrumentRepository.cs index 891cb7d1..4d4f0d75 100644 --- a/CompanyManagment.EFCore/Repository/PaymentInstrumentRepository.cs +++ b/CompanyManagment.EFCore/Repository/PaymentInstrumentRepository.cs @@ -68,6 +68,8 @@ public class PaymentInstrumentRepository : RepositoryBase