Created
June 5, 2012 12:19
-
-
Save anonymous/2874669 to your computer and use it in GitHub Desktop.
First drop of an anemic domain model
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 Azienda | |
{ | |
public string RagioneSociale { get; set; } | |
public string CodiceFiscale { get; set; } | |
public string PartitaIva { get; set; } | |
public Indirizzo SedeLegale { get; set; } | |
public Indirizzo SedeOperativa { get; set; } | |
} | |
public class Indirizzo | |
{ | |
public string Via { get; set; } | |
public string Cap { get; set; } | |
public Comune Comune { get; set; } | |
} | |
public class Comune | |
{ | |
public string CodiceIstat { get; set; } | |
public string Descrizione { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment