Skip to content

Instantly share code, notes, and snippets.

Created June 5, 2012 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2874669 to your computer and use it in GitHub Desktop.
Save anonymous/2874669 to your computer and use it in GitHub Desktop.
First drop of an anemic domain model
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