using System.ComponentModel.DataAnnotations;

namespace WebApp.DTOs
{
    public record class UserSummaryDto
    (
        [Required] int UserId,
        [Required] string Email,
        [Required] string FirstName,
        [Required] string LastName,
        [Required] DateTime CreatedAt,
        [Required] bool isOrganisation
    );

    public record class UserSummaryWithOrgIdDto
    (
        [Required] int UserId,
        [Required] string Email,
        [Required] string FirstName,
        [Required] string LastName,
        [Required] DateTime CreatedAt,
        [Required] bool isOrganisation,
        int? OrganisationId
    );
}
