This commit is contained in:
2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions
@@ -0,0 +1,30 @@
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Kreta.Ellenorzo.Domain.VN.Felhasznalo;
using Kreta.Ellenorzo.Dto.VN.Documentation;
namespace Kreta.Ellenorzo.Dto.VN.Felhasznalo
{
public class BankszamlaResponseDto
{
[Required, Description(DescriptionLookUp.BankszamlaSzam)]
public string BankszamlaSzam { get; set; }
[Required, Description(DescriptionLookUp.BankszamlaTulajdonosTipusId)]
public int? BankszamlaTulajdonosTipusId { get; set; }
[Required, Description(DescriptionLookUp.BankszamlaTulajdonosNeve)]
public string BankszamlaTulajdonosNeve { get; set; }
[Required, Description(DescriptionLookUp.BankszamlaSzamReadOnly)]
public bool IsReadOnly { get; set; }
public static implicit operator BankszamlaResponseDto(BankszamlaResponse model) => new BankszamlaResponseDto
{
BankszamlaSzam = model.BankszamlaSzam,
BankszamlaTulajdonosTipusId = model.BankszamlaTulajdonosTipusId,
BankszamlaTulajdonosNeve = model.BankszamlaTulajdonosNeve,
IsReadOnly = model.IsReadOnly
};
}
}