mirror of
https://github.com/bvanroll/cs-oo-project.git
synced 2025-08-28 19:42:42 +00:00
31 lines
562 B
C#
31 lines
562 B
C#
using System;
|
|
using Globals.Interfaces;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Globals.classes
|
|
{
|
|
public class Ploeg : IPloeg
|
|
{
|
|
public Ploeg(string naam)
|
|
{
|
|
this.naam = naam;
|
|
}
|
|
|
|
public Ploeg(Ploeg p)
|
|
{
|
|
this.naam = p.naam;
|
|
}
|
|
public string naam { get; set; }
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
return ((Ploeg)obj).naam == this.naam;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return this.naam;
|
|
}
|
|
}
|
|
}
|