Grundlegene Funktionen geschrieben
This commit is contained in:
14
dcnsanplanung.shared/Model/DBObjekt.cs
Normal file
14
dcnsanplanung.shared/Model/DBObjekt.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace dcnsanplanung.shared.Model
|
||||
{
|
||||
public class DBObjekt
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public Guid Guid { get; set; }
|
||||
}
|
||||
}
|
||||
24
dcnsanplanung.shared/Model/Haltung.cs
Normal file
24
dcnsanplanung.shared/Model/Haltung.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace dcnsanplanung.shared.Model
|
||||
{
|
||||
public class Haltung : DBObjekt
|
||||
{
|
||||
public Guid Ref_Projekt_Guid;
|
||||
public string Objektbezeichnung { get; set; } = "";
|
||||
public uint Bewertungklasse { get; set; }
|
||||
public List<Schaden> Kodierungen = new List<Schaden>();
|
||||
}
|
||||
|
||||
public class Schaden : DBObjekt
|
||||
{
|
||||
public Guid Ref_Haltung_Guid;
|
||||
public decimal Entfernung;
|
||||
public string Kodierung = "";
|
||||
public uint Schadensklasse;
|
||||
}
|
||||
}
|
||||
15
dcnsanplanung.shared/Model/LeistungsverzeichnisPosition.cs
Normal file
15
dcnsanplanung.shared/Model/LeistungsverzeichnisPosition.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace dcnsanplanung.shared.Model
|
||||
{
|
||||
public class LeistungsverzeichnisPosition : DBObjekt
|
||||
{
|
||||
public string Positionsnummer { get; set; } = "";
|
||||
public string Titel { get; set; } = "";
|
||||
public string Einheit { get; set; } = "";
|
||||
}
|
||||
}
|
||||
13
dcnsanplanung.shared/Model/Projekt.cs
Normal file
13
dcnsanplanung.shared/Model/Projekt.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace dcnsanplanung.shared.Model
|
||||
{
|
||||
public class Projekt : DBObjekt
|
||||
{
|
||||
public List<Haltung> Haltungen = new List<Haltung>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user