37 lines
1.2 KiB
C#
37 lines
1.2 KiB
C#
using System.Reflection.Metadata.Ecma335;
|
|
|
|
namespace dcnsanplanung.shared.Model
|
|
{
|
|
public class Schaden : DBObjekt
|
|
{
|
|
public Guid Ref_Haltung_Guid { get; set; }
|
|
public decimal Entfernung { get; set; }
|
|
public string Hauptcode { get; set; } = string.Empty;
|
|
public string CH1 { get; set; } = string.Empty;
|
|
public string CH2 { get; set; } = string.Empty;
|
|
public string Q1 { get; set; } = string.Empty;
|
|
public string Q2 { get; set; } = string.Empty;
|
|
public int Schadensklasse { get; set; }
|
|
public int KD { get; set; }
|
|
public int KS { get; set; }
|
|
public int KB { get; set; }
|
|
public decimal KDj { get; set; }
|
|
public decimal KBj { get; set; }
|
|
public decimal KSj { get; set; }
|
|
public string StreckenschadenCode { get; set; } = string.Empty;
|
|
public List<Sanierungsvorgabe> Sanierungsvorgaben { get; set; }
|
|
public bool IsStreckenSchaden
|
|
{
|
|
get
|
|
{
|
|
return StreckenschadenCode != string.Empty && StreckenschadenCode != "0";
|
|
}
|
|
}
|
|
}
|
|
|
|
public class Sanierungsvorgabe
|
|
{
|
|
public string Vorgabe { get; set; } = "";
|
|
}
|
|
}
|