2025-06-18 10:29:25 +00:00
|
|
|
using System;
|
|
|
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
2025-10-03 21:27:44 +00:00
|
|
|
using Volo.Abp.MultiTenancy;
|
2025-06-18 10:29:25 +00:00
|
|
|
|
|
|
|
|
namespace Kurs.Platform.Entities;
|
|
|
|
|
|
2025-10-03 21:27:44 +00:00
|
|
|
public class BankAccount : FullAuditedEntity<Guid>, IMultiTenant
|
2025-06-18 10:29:25 +00:00
|
|
|
{
|
2025-10-03 21:27:44 +00:00
|
|
|
public Guid? TenantId { get; set; }
|
|
|
|
|
public Guid? BranchId { get; set; }
|
|
|
|
|
|
2025-06-18 10:29:25 +00:00
|
|
|
public string AccountNumber { get; set; }
|
|
|
|
|
public Guid BankId { get; set; }
|
|
|
|
|
public Bank Bank { get; set; }
|
|
|
|
|
public string AccountOwner { get; set; }
|
|
|
|
|
public Guid? CurrencyId { get; set; } // Currency entity'sine referans
|
|
|
|
|
public Currency Currency { get; set; }
|
|
|
|
|
public bool CanTransferMoney { get; set; }
|
|
|
|
|
public string Company { get; set; }
|
2025-10-03 21:27:44 +00:00
|
|
|
|
|
|
|
|
Guid? IMultiTenant.TenantId => TenantId;
|
2025-06-18 10:29:25 +00:00
|
|
|
}
|