Code cleanup
This commit is contained in:
@@ -8,11 +8,11 @@ namespace SewerStammGen.Shared.Domain
|
||||
{
|
||||
public class Auftraggeber : DBObject
|
||||
{
|
||||
public string? Name { get; set; }
|
||||
public string? Strasse { get; set; }
|
||||
public string? Ort { get; set; }
|
||||
public string? Postleitzahl { get; set; }
|
||||
public string? Ansprechpartner { get; set; }
|
||||
public string? Telefonnummer { get; set; }
|
||||
public string Name { get; set; } = String.Empty;
|
||||
public string Strasse { get; set; } = String.Empty;
|
||||
public string Ort { get; set; } = String.Empty;
|
||||
public string Postleitzahl { get; set; } = String.Empty;
|
||||
public string Ansprechpartner { get; set; } = String.Empty;
|
||||
public string Telefonnummer { get; set; } = String.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,13 +8,13 @@ namespace SewerStammGen.Shared.Domain
|
||||
{
|
||||
public class Kanal : DBObject
|
||||
{
|
||||
public string? Objektbezeichnung { get; set; }
|
||||
public string Objektbezeichnung { get; set; } = String.Empty;
|
||||
public Schacht? StartSchacht { get; set; }
|
||||
public Schacht? EndSchacht { get; set; }
|
||||
public int DN { get; set; }
|
||||
public string? Material { get; set; }
|
||||
public string Material { get; set; } = String.Empty;
|
||||
public decimal Haltungslaenge { get; set; }
|
||||
public virtual Projekt? Projekt { get; set; }
|
||||
public Projekt? Projekt { get; set; }
|
||||
public EEntwaeserung Entwaesserung { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -10,10 +10,10 @@ namespace SewerStammGen.Shared.Domain
|
||||
{
|
||||
public class Projekt : DBObject
|
||||
{
|
||||
public string? Projektname { get; set; }
|
||||
public string? Erstelldatum { get; set; }
|
||||
public string? Strasse { get;set; }
|
||||
public string? Ort { get; set; }
|
||||
public string Projektname { get; set; } = String.Empty;
|
||||
public string Erstelldatum { get; set; } = String.Empty;
|
||||
public string Strasse { get; set; } = String.Empty;
|
||||
public string Ort { get; set; } = String.Empty;
|
||||
public Auftraggeber Auftraggeber { get; set; }
|
||||
public EExportType ExportType { get; set; }
|
||||
public EKodierungssystem Kodierungssystem { get; set; }
|
||||
|
||||
@@ -9,21 +9,12 @@ namespace SewerStammGen.Shared.Domain
|
||||
{
|
||||
public class Schacht : DBObject
|
||||
{
|
||||
public string? Objektbezeichnung { get; set; }
|
||||
|
||||
[Column(TypeName = "decimal(18,4)")]
|
||||
public string Objektbezeichnung { get; set; } = String.Empty;
|
||||
public decimal RechtsWert { get; set; }
|
||||
|
||||
[Column(TypeName = "decimal(18,4)")]
|
||||
public decimal HochWert { get; set; }
|
||||
|
||||
[Column(TypeName = "decimal(18,4)")]
|
||||
public decimal SohlHoehe { get; set; }
|
||||
|
||||
[Column(TypeName = "decimal(18,4)")]
|
||||
public decimal DeckelHoehe { get; set; }
|
||||
|
||||
public virtual Projekt? Projekt { get; set; }
|
||||
public Projekt? Projekt { get; set; }
|
||||
public EEntwaeserung Entwaesserung { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user