shoc-backend/Api.SeaHavenIndustries/DTOs/Location_DTO.cs

21 lines
673 B
C#
Raw Normal View History

namespace Api.SeaHavenIndustries.DTOs
2024-09-28 14:58:36 -04:00
{
public class Location_DTO
{
public string? Title { get; set; }
public string? Name { get; set; }
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? ZipCode { get; set; }
public string? Phone { get; set; }
public string? Contact { get; set; }
public string? ContactEmail { get; set; }
public string? Status { get; set; }
public string? AccountId { get; set; }
public int? GetAccountId() =>
int.TryParse(AccountId, out var id) ? id : null;
2024-09-28 14:58:36 -04:00
}
}