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

31 lines
874 B
C#
Raw Normal View History

2026-04-28 18:55:14 -05:00
namespace SeaHaven.Services.DTOs
{
public class AccountDTO
{
public int Id { get; set; }
public string? Name { get; set; }
2026-05-06 10:49:33 -05:00
public string? Type { get; set; }
2026-04-28 18:55:14 -05:00
public string? Phone { get; set; }
public string? Email { get; set; }
public string? Website { get; set; }
public DateTime? CreatedDate { get; set; }
public string? CreatedBy { get; set; }
}
public class CreateAccountDTO
{
public required string Name { get; set; }
public string? Phone { get; set; }
public string? Email { get; set; }
public string? Website { get; set; }
}
public class UpdateAccountDTO
{
public string? Name { get; set; }
public string? Phone { get; set; }
public string? Email { get; set; }
public string? Website { get; set; }
}
}