namespace MyOffice.Data.Models.Accounts;

using Items;

/// <summary>
/// Account motion
/// DateTime: 2023-01-01, Account: 'Debit card', Item.ItemGlobal: 'Primary salary', AmountPlus: 5000
/// </summary>
public class Motion
{
	public Guid Id { get; set; }
	public DateTime CreatedOn { get; set; }
	public DateTime DateTime { get; set; }
	public Guid AccountId { get; set; }
	public Account Account { get; set; } = null!;
	public int ItemId { get; set; }
	public Item Item { get; set; } = null!;
	public string? Description { get; set; }
	public decimal AmountPlus { get; set; }
	public decimal AmountMinus { get; set; }
	public DateTime? DeletedOn { get; set; }
}
