using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace gehGassi.Dto.Common
{
///
/// DTO einer Adresse
///
public class AddressDto
{
///
/// Optionale Adresszeile 1
///
[MaxLength(100)]
public string AddressLine1 { get; set; }
///
/// Optionale Adresszeile 2
///
[MaxLength(100)]
public string AddressLine2 { get; set; }
///
/// Optional: Stadt / Ort
///
[MaxLength(100)]
public string City { get; set; }
///
/// Optinale PLZ
///
[MaxLength(20)]
public string Zip { get; set; }
///
/// Bundesland / Staat
///
[MaxLength(100)]
public string State { get; set; }
///
/// ISO2 Ländercode
///
[Required]
[MaxLength(2)]
public string CountryCode { get; set; }
}
}