using DaSaSo.Domain.Enums; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; namespace DaSaSo.Domain.Model { public class SewerObject : DomainObject { public Buildingsite BuildingSite { get; set; } public string SanNummer { get; set; } public string StreetName { get; set; } public string Hausnummer { get; set; } public string ObjektName { 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; } public bool SewerActivated { get; set; } public bool SewerCleaned { get; set; } public bool WaterBarrier { get; set; } public bool PermitNeeded { get; set; } public bool BuildingsiteBarier { get; set; } public PipeLiner? PipeLiner { get; set; } public ICollection SewerDamages { get; set; } = new List(); //Not for Databinding [NotMapped] public bool IsSelected { get; set; } [NotMapped] public bool IsChanged { get; set; } = false; } }