Sky.Net/API/Dtos/AddressDto.cs

29 lines
625 B
C#
Raw Normal View History

2022-05-19 19:33:40 -07:00
using System;
using System.Collections.Generic;
2022-05-20 11:09:24 -07:00
using System.ComponentModel.DataAnnotations;
2022-05-19 19:33:40 -07:00
using System.Linq;
using System.Threading.Tasks;
namespace API.Dtos
{
public class AddressDto
{
2022-05-20 11:09:24 -07:00
[Required]
2022-05-19 19:33:40 -07:00
public string FirstName { get; set; }
2022-05-20 11:09:24 -07:00
[Required]
2022-05-19 19:33:40 -07:00
public string LastName { get; set; }
2022-05-20 11:09:24 -07:00
[Required]
2022-05-19 19:33:40 -07:00
public string Street { get; set; }
2022-05-20 11:09:24 -07:00
[Required]
2022-05-19 19:33:40 -07:00
public string City { get; set; }
2022-05-20 11:09:24 -07:00
[Required]
2022-05-19 19:33:40 -07:00
public string State { get; set; }
2022-05-20 11:09:24 -07:00
[Required]
2022-05-19 19:33:40 -07:00
public string ZipCode { get; set; }
}
}