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.
ConsEco/Sources/Modele/BanqueInscrit.cs

28 lines
541 B

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class BanqueInscrit
{
public int Id { get; private set; }
public string Name { get; private set; }
[JsonConstructor]
public BanqueInscrit(int id, string name)
{
Id = id;
Name = name;
}
public override string ToString()
{
return Id + " " + Name;
}
}
}