mirror of
https://github.com/bvanroll/cs-oo-project.git
synced 2025-08-30 12:32:43 +00:00
euh
This commit is contained in:
@@ -1,10 +1,22 @@
|
||||
using System;
|
||||
using Globals.Interfaces;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Globals.classes
|
||||
{
|
||||
public class Person : IPerson
|
||||
{
|
||||
[JsonConstructor]
|
||||
public Person (int Id, string name, string lastname, string adress, string gsm, double balance)
|
||||
{
|
||||
this.Id = Id;
|
||||
this.name = name;
|
||||
this.lastname = lastname;
|
||||
this.adress = adress;
|
||||
this.gsm = gsm;
|
||||
this.balance = balance;
|
||||
}
|
||||
|
||||
public Person( string name, string lastname, string adress, string gsm, double balance)
|
||||
{
|
||||
this.name = name;
|
||||
|
Reference in New Issue
Block a user