You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
699 B
31 lines
699 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Model
|
|
{
|
|
public class Operation
|
|
{
|
|
public string Nom { get; private set; }
|
|
public string Type { get; private set; }
|
|
public string Tag { get; private set; }
|
|
public double Montant { get; private set; }
|
|
public string Date { get; private set; }
|
|
|
|
|
|
public Operation(string nom, string type, string tag, string date, double montant)
|
|
{
|
|
Nom = nom;
|
|
Type = type;
|
|
Tag = tag;
|
|
Date = DateTime.Now.ToString("dd/MM/yyyy");
|
|
Montant = montant;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|