a blog index
This commit is contained in:
parent
bc3e3099b6
commit
2666492a18
10 changed files with 47 additions and 45 deletions
|
|
@ -58,7 +58,22 @@ namespace Yavsc.Models.Bank
|
|||
[DisplayName("Clé RIB")]
|
||||
public int BankedKey { get; set; }
|
||||
|
||||
public virtual ApplicationUser User { get; set; }
|
||||
|
||||
public string UserId { get; set; }
|
||||
|
||||
public override bool Equals(object? obj)
|
||||
{
|
||||
if (obj==null) return false;
|
||||
if (! typeof(BankIdentity).IsAssignableFrom(obj.GetType())) return false;
|
||||
BankIdentity tobj = (BankIdentity)obj;
|
||||
return tobj.IBAN == IBAN &&
|
||||
tobj.BIC == BIC &&
|
||||
tobj.AccountNumber == AccountNumber &&
|
||||
tobj.BankedKey == BankedKey;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue