Enum verschoben zur Domain
Datenbank converter angefangen
This commit is contained in:
12
DaSaSo.Domain/Enums/EMainWindowViewType.cs
Normal file
12
DaSaSo.Domain/Enums/EMainWindowViewType.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace DaSaSo.Domain.Enums
|
||||
{
|
||||
public enum EMainWindowViewType
|
||||
{
|
||||
Home,
|
||||
Clients,
|
||||
ClientEdit,
|
||||
Projects,
|
||||
Buildingsites,
|
||||
SewerObjects
|
||||
}
|
||||
}
|
||||
16
DaSaSo.Domain/Enums/EPointType.cs
Normal file
16
DaSaSo.Domain/Enums/EPointType.cs
Normal 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
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
7
DaSaSo.Domain/Model/SewerPoint.cs
Normal file
7
DaSaSo.Domain/Model/SewerPoint.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace DaSaSo.Domain.Model
|
||||
{
|
||||
public class SewerPoint : DomainObject
|
||||
{
|
||||
public string Objektnummer { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user