Enum verschoben zur Domain

Datenbank converter angefangen
This commit is contained in:
HuskyTeufel
2021-09-20 13:45:24 +02:00
parent f2ea55ea34
commit ea3352db79
18 changed files with 6925 additions and 47 deletions

View File

@@ -0,0 +1,12 @@
namespace DaSaSo.Domain.Enums
{
public enum EMainWindowViewType
{
Home,
Clients,
ClientEdit,
Projects,
Buildingsites,
SewerObjects
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DaSaSo.Domain.Enums
{
public enum EPointType
{
Leitung,
Haltung,
Schacht,
Anschlusspunkt
}
}

View File

@@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations.Schema;
using DaSaSo.Domain.Enums;
using System.ComponentModel.DataAnnotations.Schema;
namespace DaSaSo.Domain.Model
{
@@ -7,8 +8,10 @@ namespace DaSaSo.Domain.Model
public Buildingsite BuildingSite { get; set; }
public string StreetName { get; set; }
public string ObjektName { get; set; }
public string PointFrom { get; set; }
public string PointTo { get; set; }
public SewerPoint PunktOben { get; set; }
public EPointType PunktObenType { get; set; }
public SewerPoint PunktUnten { get; set; }
public EPointType PunktUntenType { get; set; }
public string Material { get; set; }
public int DN { get; set; }
public decimal SewerLength { get; set; }
@@ -24,4 +27,5 @@ namespace DaSaSo.Domain.Model
public bool IsSelected { get; set; }
}
}
}

View File

@@ -0,0 +1,7 @@
namespace DaSaSo.Domain.Model
{
public class SewerPoint : DomainObject
{
public string Objektnummer { get; set; }
}
}