mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-06 10:02:09 +00:00
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
|
|
namespace SeaHaven.Services.DTOs
|
||
|
|
{
|
||
|
|
public class LocationDTO
|
||
|
|
{
|
||
|
|
public int Id { get; set; }
|
||
|
|
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; }
|
||
|
|
public string? AccountName { 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; }
|
||
|
|
}
|
||
|
|
}
|