25 lines
907 B
C#
25 lines
907 B
C#
using WinFormDiApp.BL.Models.Common;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WinFormDiApp.BL.Models
|
|
{
|
|
public class AccountRecord : BaseEntity
|
|
{
|
|
public DateTime BetalDatum { get; set; } = DateTime.MinValue;
|
|
public string Mottagare { get; set; } = string.Empty;
|
|
public string Konto { get; set; } = string.Empty;
|
|
public double Belopp { get; set; }
|
|
public string Avisering { get; set; } = string.Empty;
|
|
public DateTime Stored { get; set;} = DateTime.Now.ToLocalTime();
|
|
public override string ToString()
|
|
{
|
|
//return base.ToString();
|
|
return $"\"Rad{Id}\": {{\"BetalDatum\": \"{BetalDatum}\", \"Mottagare\": \"{Mottagare}\", \"Konto\": \"{Konto}\", \"Belopp\": \"{Belopp}\", \"Avisering\": \"{Avisering}\"}},";
|
|
}
|
|
}
|
|
}
|