29 lines
625 B
C#
29 lines
625 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace API.Dtos
|
|
{
|
|
public class AddressDto
|
|
{
|
|
[Required]
|
|
public string FirstName { get; set; }
|
|
|
|
[Required]
|
|
public string LastName { get; set; }
|
|
|
|
[Required]
|
|
public string Street { get; set; }
|
|
|
|
[Required]
|
|
public string City { get; set; }
|
|
|
|
[Required]
|
|
public string State { get; set; }
|
|
|
|
[Required]
|
|
public string ZipCode { get; set; }
|
|
}
|
|
} |