-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAccount.cs
54 lines (36 loc) · 1.24 KB
/
Account.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Copyright 2021 Valters Melnalksnis
// Licensed under the GNU Affero General Public License v3.0 or later.
// See LICENSE.txt file in the project root for full license information.
using System;
using Tracking.Finance.Data.Models.Abstractions;
namespace Tracking.Finance.Data.Models
{
public sealed class Account : IEntity, INamedEntity, IUserSpecificEntity, IModifiableEntity, IDescribableEntity
{
/// <inheritdoc/>
public int Id { get; set; }
/// <inheritdoc/>
public int UserId { get; set; }
public int? CounterpartyId { get; set; }
/// <inheritdoc/>
public DateTimeOffset CreatedAt { get; set; }
/// <inheritdoc/>
public int CreatedByUserId { get; set; }
/// <inheritdoc/>
public DateTimeOffset ModifiedAt { get; set; }
/// <inheritdoc/>
public int ModifiedByUserId { get; set; }
/// <inheritdoc/>
public string Name { get; set; }
/// <inheritdoc/>
public string NormalizedName { get; set; }
/// <inheritdoc/>
public string? Description { get; set; }
public string? Bic { get; set; }
public string? Iban { get; set; }
public string? AccountNumber { get; set; }
public bool Active { get; set; }
public int PrefferedCurrencyId { get; set; }
public bool LimitCurrencies { get; set; }
}
}