classlib all types implemented
This commit is contained in:
27
classlib/domain.cs
Normal file
27
classlib/domain.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user