22 lines
421 B
C#
22 lines
421 B
C#
namespace InternshipSystem.Core
|
|
{
|
|
public class Nip
|
|
{
|
|
private readonly string nip;
|
|
|
|
public Nip()
|
|
{
|
|
}
|
|
|
|
private Nip(string maybeNip)
|
|
{
|
|
nip = maybeNip;
|
|
}
|
|
|
|
public static implicit operator string(Nip nip) =>
|
|
nip.nip;
|
|
|
|
public static implicit operator Nip(string maybeNip) =>
|
|
new Nip(maybeNip);
|
|
}
|
|
} |