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

56 lines
2 KiB
C#
Raw Normal View History

2026-04-28 18:55:14 -05:00
namespace SeaHaven.Services.DTOs
{
public class VendorDTO
{
public int Id { get; set; }
public string? Name { get; set; }
public string? ContactName { get; set; }
2026-04-28 18:55:14 -05:00
public string? Email { get; set; }
public string? Phone { get; set; }
public string? CompanyPhone { get; set; }
2026-04-28 18:55:14 -05:00
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? Zipcode { get; set; }
public string? TradeSpecialties { get; set; }
public string? GoogleMapsUrl { get; set; }
public string? Notes { get; set; }
public int TotalJobs { get; set; }
public bool IsActive { get; set; }
2026-04-28 18:55:14 -05:00
}
public class CreateVendorDTO
{
public required string Name { get; set; }
public string? ContactName { get; set; }
2026-04-28 18:55:14 -05:00
public string? Email { get; set; }
public string? Phone { get; set; }
public string? CompanyPhone { get; set; }
2026-04-28 18:55:14 -05:00
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? Zipcode { get; set; }
public string? TradeSpecialties { get; set; }
public string? GoogleMapsUrl { get; set; }
public string? Notes { get; set; }
public bool IsActive { get; set; } = true;
2026-04-28 18:55:14 -05:00
}
public class UpdateVendorDTO
{
public string? Name { get; set; }
public string? ContactName { get; set; }
2026-04-28 18:55:14 -05:00
public string? Email { get; set; }
public string? Phone { get; set; }
public string? CompanyPhone { get; set; }
2026-04-28 18:55:14 -05:00
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? Zipcode { get; set; }
public string? TradeSpecialties { get; set; }
public string? GoogleMapsUrl { get; set; }
public string? Notes { get; set; }
public bool? IsActive { get; set; }
2026-04-28 18:55:14 -05:00
}
}