mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 06:23:16 +00:00
39 lines
1.3 KiB
C#
39 lines
1.3 KiB
C#
namespace SeaHaven.Services.DTOs
|
|
{
|
|
public class LocationDTO
|
|
{
|
|
public int Id { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Title { get; set; }
|
|
public string? Address1 { get; set; }
|
|
public string? Address2 { get; set; }
|
|
public string? City { get; set; }
|
|
public string? State { get; set; }
|
|
public string? Zip { get; set; }
|
|
public string? PhoneNumber { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? Status { get; set; }
|
|
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; }
|
|
}
|
|
}
|