Created
October 22, 2015 10:38
-
-
Save mastoj/4076bdc5a4a624bb1ef1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SokEnhet : ISokEnhet<ElasticSearchKonsesjon> | |
{ | |
public Guid Id { get; set; } | |
public EnhetNummer Enhetsnummer { get; set; } | |
[JsonProperty(TypeNameHandling = TypeNameHandling.Objects)] | |
public IEnhetNavn Navn { get; set; } | |
public string IndeksertNavn => Navn != null ? Navn.LagKortversjon() : ""; | |
public EnhetType Enhetstype { get; set; } | |
public string KortAdresse { get; set; } | |
public List<ElasticSearchKonsesjon> Konsesjoner { get; set; } = new List<ElasticSearchKonsesjon>(); | |
public EnhetStatus Status { get; set; } | |
public ElasticSearchKontaktinformasjon Kontaktinformasjon { get; set; } | |
public DataKilde SokeKilde => DataKilde.Finanstilsynet; | |
public ElasticSearchTypeOgVerdi[] Identifikatorer { get; set; } | |
public int FinanstilsynetId { get; set; } | |
public Organisasjonsform Organisasjonsform { get; set; } | |
public string FinanstilsynetIdWithPrefix => FinanstilsynetIdRegistrert.ToIdString(FinanstilsynetId); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment