classlib all types implemented

This commit is contained in:
2022-12-05 14:08:59 +03:00
parent 09cd00dc66
commit affbd18de2
14 changed files with 282 additions and 154 deletions

27
classlib/domain.cs Normal file
View File

@@ -0,0 +1,27 @@
namespace PS.IPAM;
using System;
[Serializable]
public class Domain {
public int Id { get; }
public string Name { get; }
public string Description { get; }
public string Sections { get; }
public Domain (
int id,
string name,
string description,
string sections
) {
this.Id = id;
this.Name = name;
this.Description = description;
this.Sections = sections;
}
public override string ToString()
{
return this.Name;
}
}