shoc-backend/SeaHaven.Services/DTOs/LocationDTOs.cs

40 lines
1.3 KiB
C#
Raw Normal View History

2026-04-28 18:55:14 -05:00
namespace SeaHaven.Services.DTOs
{
public class LocationDTO
{
public int Id { get; set; }
2026-05-06 10:49:33 -05:00
public string? Name { get; set; }
public string? Title { get; set; }
public string? Address1 { get; set; }
public string? Address2 { get; set; }
2026-04-28 18:55:14 -05:00
public string? City { get; set; }
public string? State { get; set; }
2026-05-06 10:49:33 -05:00
public string? Zip { get; set; }
public string? PhoneNumber { get; set; }
public string? Email { get; set; }
public string? Status { get; set; }
2026-04-28 18:55:14 -05:00
public DateTime? CreatedDate { get; set; }
public string? CreatedBy { get; set; }
}
public class CreateLocationDTO
{
public required string LocationName { get; set; }
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? Zipcode { get; set; }
public int? AccountId { get; set; }
}
public class UpdateLocationDTO
{
public string? LocationName { get; set; }
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? Zipcode { get; set; }
public int? AccountId { get; set; }
}
}