using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

/**
* @overview Life of German Reallife - Logs BankAccountTransactionHistory (BankAccountTransactionHistory.cs)
* @author VegaZ
* @copyright (c) 2008 - 2018 Life of German
*/

namespace ReallifeGamemode.Server.Entities.Logs
{
    public class BankAccountTransactionHistory
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        [StringLength(32)]
        public string Sender { get; set; }
        public int SenderBalance { get; set; }
        public int MoneySent { get; set; }
        [StringLength(32)]
        public string Receiver { get; set; }
        public int ReceiverBalance { get; set; }
        public int NewSenderBalance { get; set; }
        public int NewReceiverBalance { get; set; }
        public int Fee { get; set; }
        [StringLength(32)]
        public string Origin { get; set; }
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public DateTime Timestamp { get; set; }
    }
}
