une commande de coupe de cheveux
This commit is contained in:
parent
27b26f0545
commit
c001994d50
38 changed files with 3137 additions and 196 deletions
|
|
@ -1,24 +0,0 @@
|
|||
namespace Yavsc.ViewModels.Manage
|
||||
{
|
||||
using Models.Bank;
|
||||
public class AddBankInfoViewModel
|
||||
{
|
||||
public BankIdentity Data{get; private set; }
|
||||
public AddBankInfoViewModel(BankIdentity data)
|
||||
{
|
||||
this.Data = data;
|
||||
}
|
||||
|
||||
public bool IsValid { get {
|
||||
return ByIbanBIC || ByAccountNumber ;
|
||||
}}
|
||||
public bool ByIbanBIC { get {
|
||||
return (Data.BIC != null && Data.IBAN != null) ;
|
||||
}}
|
||||
public bool ByAccountNumber {
|
||||
get {
|
||||
return (Data.BankCode != null && Data.WicketCode != null && Data.AccountNumber != null && Data.BankedKey >0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue