using System;
using System.Collections.Generic;

namespace StockFin.Models;

public partial class Account
{
    public long Id { get; set; }

    public string? Title { get; set; }

    public long? IncreaseId { get; set; }

    public long? TypeId { get; set; }

    public string? Bank { get; set; }

    public virtual Increase? Increase { get; set; }

    public virtual ICollection<Patrimony> Patrimonies { get; set; } = new List<Patrimony>();

    public virtual ICollection<Statement> Statements { get; set; } = new List<Statement>();

    public virtual ICollection<Transaction> Transactions { get; set; } = new List<Transaction>();

    public virtual AccountType? Type { get; set; }
}
